$ git clone -n http://8.131.229.236/anolis-os/postgresql /var/lib/mock/module-postgresql-9.6-8020020210319054940-ff983833-build-9666-1757/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-9.6-8020020210319054940-ff983833-build-9666-1757/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 7a76c81e291d99385ce9cb9592440c3676564ce0 HEAD is now at 7a76c81 import postgresql-9.6.10-1.module+el8+2470+d1bafa0e.src.rpm