$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-pl.git /var/lib/mock/dist-an7-build-28150-15234/root/chroot_tmpdir/scmroot/hunspell-pl Cloning into '/var/lib/mock/dist-an7-build-28150-15234/root/chroot_tmpdir/scmroot/hunspell-pl'... $ git reset --hard origin/a7 HEAD is now at 036b79b import hunspell-pl-0.20130130-2.el7.src.rpm