$ git clone -n http://8.131.229.236/anolis-os/postgresql /var/lib/mock/module-postgresql-12-8020020210311015333-ff983833-build-9535-1652/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8020020210311015333-ff983833-build-9535-1652/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 1e5afe7738a07a6a958c3a9c8f84a5db8de77121 HEAD is now at 1e5afe7 import postgresql-12.1-2.module+el8.1.1+4794+c82b6e09.src.rpm