$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-az.git /var/lib/mock/dist-an7-build-28014-15219/root/chroot_tmpdir/scmroot/hunspell-az Cloning into '/var/lib/mock/dist-an7-build-28014-15219/root/chroot_tmpdir/scmroot/hunspell-az'... $ git reset --hard origin/a7 HEAD is now at 5090bc7 import hunspell-az-0.20040827-10.el7.src.rpm