$ git clone -n https://gitee.com/src-opencloudos-rpms/smc-tools.git /var/lib/mock/dist-oc8-build-38491-12491/root/chroot_tmpdir/scmroot/smc-tools Cloning into '/var/lib/mock/dist-oc8-build-38491-12491/root/chroot_tmpdir/scmroot/smc-tools'... $ git reset --hard origin/oc8 HEAD is now at 8459c53 import smc-tools-1.8.2-1.tl3