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