$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-sl.git /var/lib/mock/dist-an7-build-28164-15234/root/chroot_tmpdir/scmroot/hunspell-sl Cloning into '/var/lib/mock/dist-an7-build-28164-15234/root/chroot_tmpdir/scmroot/hunspell-sl'... $ git reset --hard origin/a7 HEAD is now at 3825f5e import hunspell-sl-0.20070127-10.el7.src.rpm