$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ml.git /var/lib/mock/dist-an7-build-28122-15232/root/chroot_tmpdir/scmroot/hunspell-ml Cloning into '/var/lib/mock/dist-an7-build-28122-15232/root/chroot_tmpdir/scmroot/hunspell-ml'... $ git reset --hard origin/a7 HEAD is now at 6b0ebb3 import hunspell-ml-0.1-10.el7.src.rpm