$ git clone -n https://src.fedoraproject.org/rpms/pgbouncer.git /var/lib/mock/f31-build-47783-26967/root/chroot_tmpdir/scmroot/pgbouncer Cloning into '/var/lib/mock/f31-build-47783-26967/root/chroot_tmpdir/scmroot/pgbouncer'... $ git reset --hard d5d066027f84fd340adbe04070c9ee2b787fe2f1 HEAD is now at d5d0660 pgbouncer: Oops, commit the right version of the patch