$ git clone -n https://gitee.com/aixan/libgpg-error.git /var/lib/mock/dist-an8.6-build-98327-45576/root/chroot_tmpdir/scmroot/libgpg-error Cloning into '/var/lib/mock/dist-an8.6-build-98327-45576/root/chroot_tmpdir/scmroot/libgpg-error'... $ git reset --hard 4722795c3133fd9db215f09b44e519387d9561d0 HEAD is now at 4722795 import libgpg-error-1.31-1.el8.src.rpm