$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-gl.git /var/lib/mock/dist-an7-build-28062-15225/root/chroot_tmpdir/scmroot/hunspell-gl Cloning into '/var/lib/mock/dist-an7-build-28062-15225/root/chroot_tmpdir/scmroot/hunspell-gl'... $ git reset --hard origin/a7 HEAD is now at 2edcf4d import hunspell-gl-0.20080515-8.el7.src.rpm