$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-sk.git /var/lib/mock/dist-an7-build-28163-15234/root/chroot_tmpdir/scmroot/hunspell-sk Cloning into '/var/lib/mock/dist-an7-build-28163-15234/root/chroot_tmpdir/scmroot/hunspell-sk'... $ git reset --hard origin/a7 HEAD is now at 398a7ad import hunspell-sk-0.20110228-5.el7.src.rpm