$ git clone -n https://gitee.com/src-anolis-os/jsr-305.git /var/lib/mock/dist-an7-build-61175-33864/root/chroot_tmpdir/scmroot/jsr-305 Cloning into '/var/lib/mock/dist-an7-build-61175-33864/root/chroot_tmpdir/scmroot/jsr-305'... $ git reset --hard origin/a7 HEAD is now at aafd56c import jsr-305-0-0.18.20090319svn.el7.src.rpm