$ git clone -n https://gitee.com/src-anolis-os/maven-antrun-plugin.git /var/lib/mock/dist-an7-build-61224-33885/root/chroot_tmpdir/scmroot/maven-antrun-plugin Cloning into '/var/lib/mock/dist-an7-build-61224-33885/root/chroot_tmpdir/scmroot/maven-antrun-plugin'... $ git reset --hard origin/a7 HEAD is now at f16c24a import maven-antrun-plugin-1.7-8.el7.src.rpm