$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-pt.git /var/lib/mock/dist-an7-build-31430-15728/root/chroot_tmpdir/scmroot/hunspell-pt Cloning into '/var/lib/mock/dist-an7-build-31430-15728/root/chroot_tmpdir/scmroot/hunspell-pt'... $ git reset --hard origin/a7 HEAD is now at 0d622de import hunspell-pt-0.20130125-2.el7.src.rpm