$ git clone -n https://gitee.com/src-opencloudos-rpms/perftest.git /var/lib/mock/dist-oc8-build-38589-12560/root/chroot_tmpdir/scmroot/perftest Cloning into '/var/lib/mock/dist-oc8-build-38589-12560/root/chroot_tmpdir/scmroot/perftest'... $ git reset --hard origin/oc8 HEAD is now at 6a85d7f import perftest-4.5.0.20-4.tl3