$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-wa.git /var/lib/mock/dist-an7-build-28211-15238/root/chroot_tmpdir/scmroot/hunspell-wa Cloning into '/var/lib/mock/dist-an7-build-28211-15238/root/chroot_tmpdir/scmroot/hunspell-wa'... $ git reset --hard origin/a7 HEAD is now at 99ae52d import hunspell-wa-0.4.15-9.el7.src.rpm