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