$ git clone -n https://gitee.com/src-anolis-os/mcelog.git /var/lib/mock/dist-an8.6-build-160166-58573/root/chroot_tmpdir/scmroot/mcelog Cloning into '/var/lib/mock/dist-an8.6-build-160166-58573/root/chroot_tmpdir/scmroot/mcelog'... $ git reset --hard 2b8cf35e50d5e29778f711cb97922a66d9338573 HEAD is now at 2b8cf35 update to mcelog-180-0.el8