$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-hsb.git /var/lib/mock/dist-an7-build-31390-15723/root/chroot_tmpdir/scmroot/hunspell-hsb Cloning into '/var/lib/mock/dist-an7-build-31390-15723/root/chroot_tmpdir/scmroot/hunspell-hsb'... $ git reset --hard origin/a7 HEAD is now at 0c1833b import hunspell-hsb-0.20060327.3-5.el7.src.rpm