$ git clone -n https://src.fedoraproject.org/rpms/osm2pgsql.git /var/lib/mock/f40-build-760665-121129/root/chroot_tmpdir/scmroot/osm2pgsql Cloning into '/var/lib/mock/f40-build-760665-121129/root/chroot_tmpdir/scmroot/osm2pgsql'... $ git fetch origin 5b5b77972b5c4ff5ad78a9e7d2d8b74d5d205771:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/osm2pgsql * [new ref] 5b5b77972b5c4ff5ad78a9e7d2d8b74d5d205771 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b5b779 Update to 1.10.0 upstream release