$ git clone -n https://gitee.com/src-opencloudos-rpms/rshim /var/lib/mock/dist-oc8-build-58108-15905/root/chroot_tmpdir/scmroot/rshim Cloning into '/var/lib/mock/dist-oc8-build-58108-15905/root/chroot_tmpdir/scmroot/rshim'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/rshim * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c49b74a import rshim-2.0.8-1.tl3