$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-kk.git /var/lib/mock/dist-an7-build-28090-15229/root/chroot_tmpdir/scmroot/hunspell-kk Cloning into '/var/lib/mock/dist-an7-build-28090-15229/root/chroot_tmpdir/scmroot/hunspell-kk'... $ git reset --hard origin/a7 HEAD is now at 47ab519 import hunspell-kk-1.1-6.el7.src.rpm