$ git clone -n http://101.201.48.191/anolis-os/postgresql /var/lib/mock/module-postgresql-9.6-8020020210507163130-ff983833-build-18166-8239/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-9.6-8020020210507163130-ff983833-build-18166-8239/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 59d71755e677bc4834573c83587eca1c3e239765 HEAD is now at 59d7175 update to postgresql-9.6.20-1.module+el8.2.0+8939+9a3b4b64.src.rpm