$ git clone -n https://gitee.com/src-anolis-os/zip.git /var/lib/mock/dist-an8.6-build-107009-45644/root/chroot_tmpdir/scmroot/zip Cloning into '/var/lib/mock/dist-an8.6-build-107009-45644/root/chroot_tmpdir/scmroot/zip'... $ git reset --hard 9f1b4e4194f2d993f914a800915f25bbde102cf7 HEAD is now at 9f1b4e4 import zip-3.0-11.el7.src.rpm