$ git clone -n https://git.cclinux.org/stage/rpms/postgresql /var/lib/mock/module-postgresql-12-8030020210508053325-30b713e6-build-8554-2284/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-12-8030020210508053325-30b713e6-build-8554-2284/root/chroot_tmpdir/scmroot/postgresql'... warning: redirecting to https://git.cclinux.org/stage/rpms/postgresql.git/ $ git reset --hard 8c4f06e835fc148b6f78c616c494a21405dc3599 HEAD is now at 8c4f06e import postgresql-12.5-1.module+el8.3.0+9042+664538f4