$ git clone -n https://gitee.com/src-opencloudos-rpms/virt-who /var/lib/mock/dist-oc8-build-58164-15968/root/chroot_tmpdir/scmroot/virt-who Cloning into '/var/lib/mock/dist-oc8-build-58164-15968/root/chroot_tmpdir/scmroot/virt-who'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/virt-who * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8e4b7d5 import virt-who-1.30.16-1.tl3