$ git clone -n https://gitee.com/src-anolis-os/sonatype-oss-parent.git /var/lib/mock/dist-an7-build-61854-34087/root/chroot_tmpdir/scmroot/sonatype-oss-parent Cloning into '/var/lib/mock/dist-an7-build-61854-34087/root/chroot_tmpdir/scmroot/sonatype-oss-parent'... $ git reset --hard origin/a7 HEAD is now at 38b8d7b import sonatype-oss-parent-7-6.el7.src.rpm