$ git clone -n https://gitee.com/src-anolis-os/maven-shared-io.git /var/lib/mock/dist-an7-build-61345-33923/root/chroot_tmpdir/scmroot/maven-shared-io Cloning into '/var/lib/mock/dist-an7-build-61345-33923/root/chroot_tmpdir/scmroot/maven-shared-io'... $ git reset --hard origin/a7 HEAD is now at ce712cf import maven-shared-io-1.1-7.el7.src.rpm