$ git clone -n https://src.fedoraproject.org/rpms/postgresql.git /var/lib/mock/f31-build-46798-26692/root/thebuilddir/tmp/scmroot/postgresql Cloning into '/var/lib/mock/f31-build-46798-26692/root/thebuilddir/tmp/scmroot/postgresql'... $ git reset --hard e6a3dbb942a1d6a02764b8d8f699ec049701f5e8 HEAD is now at e6a3dbb New upstream release 11.4