$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hunspell-lt.git /var/lib/mock/dist-an7-build-31393-15723/root/chroot_tmpdir/scmroot/hunspell-lt Cloning into '/var/lib/mock/dist-an7-build-31393-15723/root/chroot_tmpdir/scmroot/hunspell-lt'... $ git reset --hard origin/a7 HEAD is now at bc51a9c import hunspell-lt-1.2.1-10.el7.src.rpm