$ git clone -n https://gitee.com/src-anolis-os/mcelog /var/lib/mock/dist-an8.7-build-139237-51893/root/chroot_tmpdir/scmroot/mcelog Cloning into '/var/lib/mock/dist-an8.7-build-139237-51893/root/chroot_tmpdir/scmroot/mcelog'... $ git reset --hard origin/a8 HEAD is now at d2afe33 update to mcelog-179-1.el8.src.rpm