$ git clone -n https://gitee.com/src-opencloudos-rpms/rdma-core.git /var/lib/mock/dist-oc8-build-75098-51985/root/chroot_tmpdir/scmroot/rdma-core Cloning into '/var/lib/mock/dist-oc8-build-75098-51985/root/chroot_tmpdir/scmroot/rdma-core'... $ git fetch origin c0cd0bc93a857329d19328c2f0ee0063023b8f4a:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/rdma-core * [new ref] c0cd0bc93a857329d19328c2f0ee0063023b8f4a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0cd0bc import rdma-core-48.0-1.tl3