$ git clone -n https://gitee.com/src-anolis-os/maven-file-management.git /var/lib/mock/dist-an7-build-60817-33772/root/chroot_tmpdir/scmroot/maven-file-management Cloning into '/var/lib/mock/dist-an7-build-60817-33772/root/chroot_tmpdir/scmroot/maven-file-management'... $ git reset --hard origin/a7 HEAD is now at 06ecf70 import maven-file-management-1.2.1-8.el7.src.rpm