$ git clone -n https://gitee.com/src-anolis-os/postgresql /var/lib/mock/module-postgresql-10-8050020220121073549-bc14a129-build-72163-37641/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-10-8050020220121073549-bc14a129-build-72163-37641/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard cc498a6ed89724c7bfc74524bf5c3ed9f4f42ed5 HEAD is now at cc498a6 update to postgresql-10.17-2.module+el8.5.0+11838+8dca950a