$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ga.git /var/lib/mock/dist-an7-build-28059-15225/root/chroot_tmpdir/scmroot/hunspell-ga Cloning into '/var/lib/mock/dist-an7-build-28059-15225/root/chroot_tmpdir/scmroot/hunspell-ga'... $ git reset --hard origin/a7 HEAD is now at a8877ee import hunspell-ga-4.6-7.el7.src.rpm