$ git clone -n https://gitee.com/src-anolis-os/plexus-pom.git /var/lib/mock/dist-an7-build-61777-34062/root/chroot_tmpdir/scmroot/plexus-pom Cloning into '/var/lib/mock/dist-an7-build-61777-34062/root/chroot_tmpdir/scmroot/plexus-pom'... $ git reset --hard origin/a7 HEAD is now at 4cd56ff import plexus-pom-3.3.1-5.el7.src.rpm