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