$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-rw.git /var/lib/mock/dist-an7-build-28158-15234/root/chroot_tmpdir/scmroot/hunspell-rw Cloning into '/var/lib/mock/dist-an7-build-28158-15234/root/chroot_tmpdir/scmroot/hunspell-rw'... $ git reset --hard origin/a7 HEAD is now at e76b8dd import hunspell-rw-0.20050109-8.el7.src.rpm