$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ve.git /var/lib/mock/dist-an7-build-28209-15238/root/chroot_tmpdir/scmroot/hunspell-ve Cloning into '/var/lib/mock/dist-an7-build-28209-15238/root/chroot_tmpdir/scmroot/hunspell-ve'... $ git reset --hard origin/a7 HEAD is now at 082d22f import hunspell-ve-0.20091030-6.el7.src.rpm