$ git clone -n https://gitee.com/cobratoxin/geolite2.git /var/lib/mock/dist-an8.7-build-231131-62415/root/chroot_tmpdir/scmroot/geolite2 Cloning into '/var/lib/mock/dist-an8.7-build-231131-62415/root/chroot_tmpdir/scmroot/geolite2'... $ git reset --hard 0b578d6840e20b3d673367322706108cd3d16ae1 HEAD is now at 0b578d6 import geolite2-20180605-1.el8.src.rpm