$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-uk.git /var/lib/mock/dist-an7-build-28205-15238/root/chroot_tmpdir/scmroot/hunspell-uk Cloning into '/var/lib/mock/dist-an7-build-28205-15238/root/chroot_tmpdir/scmroot/hunspell-uk'... $ git reset --hard origin/a7 HEAD is now at c4782c1 import hunspell-uk-1.6.5-5.el7.src.rpm