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