$ git clone -n https://gitee.com/src-opencloudos-rpms/autotrace.git /var/lib/mock/dist-oc8-build-38615-12571/root/chroot_tmpdir/scmroot/autotrace Cloning into '/var/lib/mock/dist-oc8-build-38615-12571/root/chroot_tmpdir/scmroot/autotrace'... $ git reset --hard origin/oc8 HEAD is now at edbaf25 import autotrace-0.31.1-55.tl3