$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-cop.git /var/lib/mock/dist-an7-build-31364-15717/root/chroot_tmpdir/scmroot/hunspell-cop Cloning into '/var/lib/mock/dist-an7-build-31364-15717/root/chroot_tmpdir/scmroot/hunspell-cop'... $ git reset --hard origin/a7 HEAD is now at 5f62d51 import hunspell-cop-0.3-5.el7.src.rpm