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