$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-th.git /var/lib/mock/dist-an7-build-28194-15236/root/chroot_tmpdir/scmroot/hunspell-th Cloning into '/var/lib/mock/dist-an7-build-28194-15236/root/chroot_tmpdir/scmroot/hunspell-th'... $ git reset --hard origin/a7 HEAD is now at ba44fa1 import hunspell-th-0.20061212-10.el7.src.rpm