$ git clone -n https://src.fedoraproject.org/rpms/rubygem-pg.git /var/lib/mock/f33-build-163346-43456/root/chroot_tmpdir/scmroot/rubygem-pg Cloning into '/var/lib/mock/f33-build-163346-43456/root/chroot_tmpdir/scmroot/rubygem-pg'... $ git reset --hard 5db4d265ff26d79027ba295411bb94a1487f5f42 HEAD is now at 5db4d26 Update to pg 1.2.3.