$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ms.git /var/lib/mock/dist-an7-build-28129-15234/root/chroot_tmpdir/scmroot/hunspell-ms Cloning into '/var/lib/mock/dist-an7-build-28129-15234/root/chroot_tmpdir/scmroot/hunspell-ms'... $ git reset --hard origin/a7 HEAD is now at bf4a494 import hunspell-ms-0.20050117-9.el7.src.rpm