$ git clone -n https://src.fedoraproject.org/rpms/osm2pgsql.git /var/lib/mock/f40-build-756648-118958/root/chroot_tmpdir/scmroot/osm2pgsql Cloning into '/var/lib/mock/f40-build-756648-118958/root/chroot_tmpdir/scmroot/osm2pgsql'... $ git reset --hard 5b5b77972b5c4ff5ad78a9e7d2d8b74d5d205771 HEAD is now at 5b5b779 Update to 1.10.0 upstream release