$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/postgresql-jdbc.git /var/lib/mock/dist-an8.4-build-20516-8934/root/chroot_tmpdir/scmroot/postgresql-jdbc Cloning into '/var/lib/mock/dist-an8.4-build-20516-8934/root/chroot_tmpdir/scmroot/postgresql-jdbc'... $ git reset --hard origin/a8 HEAD is now at 7731a67 update to postgresql-jdbc-42.2.3-3.el8_2