$ git clone -n https://gitee.com/src-anolis-os/geronimo-parent-poms.git /var/lib/mock/dist-an7-build-60998-33842/root/chroot_tmpdir/scmroot/geronimo-parent-poms Cloning into '/var/lib/mock/dist-an7-build-60998-33842/root/chroot_tmpdir/scmroot/geronimo-parent-poms'... $ git reset --hard origin/a7 HEAD is now at 6df4c67 import geronimo-parent-poms-1.6-16.el7.src.rpm