$ git clone -n https://gitee.com/lxpzlm/hwloc.git /var/lib/mock/dist-an8_8-el9-build-167777-58829/root/chroot_tmpdir/scmroot/hwloc Cloning into '/var/lib/mock/dist-an8_8-el9-build-167777-58829/root/chroot_tmpdir/scmroot/hwloc'... $ git reset --hard origin/a8 HEAD is now at 122ac80 update to hwloc-2.4.1-5.el9.src.rpm