$ git clone -n https://gitee.com/src-opencloudos-rpms/virt-what /var/lib/mock/dist-oc8-build-32121-9642/root/chroot_tmpdir/scmroot/virt-what Cloning into '/var/lib/mock/dist-oc8-build-32121-9642/root/chroot_tmpdir/scmroot/virt-what'... $ git reset --hard origin/oc8 HEAD is now at 8843cad import virt-what-1.18-13.oc8