$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-ar.git /var/lib/mock/dist-an7-build-31361-15717/root/chroot_tmpdir/scmroot/hunspell-ar Cloning into '/var/lib/mock/dist-an7-build-31361-15717/root/chroot_tmpdir/scmroot/hunspell-ar'... $ git reset --hard origin/a7 HEAD is now at 937d11d import hunspell-ar-0.20080110-10.el7.src.rpm