$ git clone -n http://8.131.229.236/anolis-os/lua-posix /var/lib/mock/dist-el8-build-8537-1290/root/chroot_tmpdir/scmroot/lua-posix Cloning into '/var/lib/mock/dist-el8-build-8537-1290/root/chroot_tmpdir/scmroot/lua-posix'... $ git reset --hard origin/a8 HEAD is now at 68a7407 import lua-posix-33.3.1-9.el8.src.rpm