$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ht.git /var/lib/mock/dist-an7-build-28080-15227/root/chroot_tmpdir/scmroot/hunspell-ht Cloning into '/var/lib/mock/dist-an7-build-28080-15227/root/chroot_tmpdir/scmroot/hunspell-ht'... $ git reset --hard origin/a7 HEAD is now at 1cf0308 import hunspell-ht-0.06-6.el7.src.rpm