$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/oniguruma.git /var/lib/mock/dist-an8.4-build-20451-8914/root/chroot_tmpdir/scmroot/oniguruma Cloning into '/var/lib/mock/dist-an8.4-build-20451-8914/root/chroot_tmpdir/scmroot/oniguruma'... $ git reset --hard origin/a8 HEAD is now at d7157ac update to oniguruma-6.8.2-2.el8.src.rpm