$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-smj.git /var/lib/mock/dist-an7-build-28171-15236/root/chroot_tmpdir/scmroot/hunspell-smj Cloning into '/var/lib/mock/dist-an7-build-28171-15236/root/chroot_tmpdir/scmroot/hunspell-smj'... $ git reset --hard origin/a7 HEAD is now at 360e65b import hunspell-smj-1.0-0.7.beta7.el7.src.rpm