$ git clone -n https://gitee.com/cobratoxin/python-prettytable.git /var/lib/mock/dist-an8.7-build-242537-62522/root/chroot_tmpdir/scmroot/python-prettytable Cloning into '/var/lib/mock/dist-an8.7-build-242537-62522/root/chroot_tmpdir/scmroot/python-prettytable'... $ git reset --hard ce3d1440558536bf0b04a89569543b6fe2ec305d HEAD is now at ce3d144 import python-prettytable-0.7.2-14.el8.src.rpm