$ git clone -n https://gitee.com/src-opencloudos-rpms/booth /var/lib/mock/dist-oc8-build-30861-9205/root/chroot_tmpdir/scmroot/booth Cloning into '/var/lib/mock/dist-oc8-build-30861-9205/root/chroot_tmpdir/scmroot/booth'... $ git reset --hard origin/oc8 HEAD is now at a8ed0e5 import booth-1.0-199.2.ac1d34c.git.oc8