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