$ git clone -n https://gitee.com/src-anolis-os/fstrm.git /var/lib/mock/dist-an8.7-build-158764-58484/root/chroot_tmpdir/scmroot/fstrm Cloning into '/var/lib/mock/dist-an8.7-build-158764-58484/root/chroot_tmpdir/scmroot/fstrm'... $ git reset --hard origin/a8 HEAD is now at 9b74309 update to fstrm-0.6.1-2.el8