$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-zu.git /var/lib/mock/dist-an7-build-28214-15238/root/chroot_tmpdir/scmroot/hunspell-zu Cloning into '/var/lib/mock/dist-an7-build-28214-15238/root/chroot_tmpdir/scmroot/hunspell-zu'... $ git reset --hard origin/a7 HEAD is now at 7e3ce2d import hunspell-zu-0.20100126-8.el7.src.rpm