$ git clone -n https://git.cclinux.org/stage/rpms/postgresql /var/lib/mock/module-postgresql-9.6-8030020210508053241-30b713e6-build-8552-2276/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-9.6-8030020210508053241-30b713e6-build-8552-2276/root/chroot_tmpdir/scmroot/postgresql'... warning: redirecting to https://git.cclinux.org/stage/rpms/postgresql.git/ $ git reset --hard 85c1e43416f8ebf47b8d91214836961bb09b3ca2 HEAD is now at 85c1e43 import postgresql-9.6.20-1.module+el8.3.0+8938+7f0e88b6