$ git clone -n https://gitee.com/src-anolis-os/maven-invoker-plugin.git /var/lib/mock/dist-an7-build-61309-33910/root/chroot_tmpdir/scmroot/maven-invoker-plugin Cloning into '/var/lib/mock/dist-an7-build-61309-33910/root/chroot_tmpdir/scmroot/maven-invoker-plugin'... $ git reset --hard origin/a7 HEAD is now at 509ee2d import maven-invoker-plugin-1.8-8.el7.src.rpm