$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-hy.git /var/lib/mock/dist-an7-build-28083-15228/root/chroot_tmpdir/scmroot/hunspell-hy Cloning into '/var/lib/mock/dist-an7-build-28083-15228/root/chroot_tmpdir/scmroot/hunspell-hy'... $ git reset --hard origin/a7 HEAD is now at 3d20d08 import hunspell-hy-0.20.0-6.el7.src.rpm