$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell.git /var/lib/mock/dist-an7-build-28005-15219/root/chroot_tmpdir/scmroot/hunspell Cloning into '/var/lib/mock/dist-an7-build-28005-15219/root/chroot_tmpdir/scmroot/hunspell'... $ git reset --hard origin/a7 HEAD is now at 59a5a59 update to hunspell-1.3.2-15.el7.src.rpm