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