$ git clone -n https://gitee.com/src-anolis-os/libfabric.git /var/lib/mock/dist-an8.7-build-177301-59099/root/chroot_tmpdir/scmroot/libfabric Cloning into '/var/lib/mock/dist-an8.7-build-177301-59099/root/chroot_tmpdir/scmroot/libfabric'... $ git reset --hard origin/a8-poc HEAD is now at 8307b96 update to libfabric-1.15.1-1.el9.src.rpm