$ git clone -n https://gitee.com/src-opencloudos-rpms/mcelog.git /var/lib/mock/dist-oc8-build-38600-12560/root/chroot_tmpdir/scmroot/mcelog Cloning into '/var/lib/mock/dist-oc8-build-38600-12560/root/chroot_tmpdir/scmroot/mcelog'... $ git reset --hard origin/oc8 HEAD is now at 966dfe2 import mcelog-189-0.tl3