$ git clone -n https://gitee.com/gcdota930915/devhelp.git /var/lib/mock/dist-an8.6-build-179175-59070/root/chroot_tmpdir/scmroot/devhelp Cloning into '/var/lib/mock/dist-an8.6-build-179175-59070/root/chroot_tmpdir/scmroot/devhelp'... $ git reset --hard e08edb5af93fc98c4f8d402c889b0531316539b3 HEAD is now at e08edb5 update to devhelp-40.1-1.el9.src.rpm