$ git clone -n https://src.fedoraproject.org/rpms/mapserver.git /var/lib/mock/f42-build-862723-171084/root/chroot_tmpdir/scmroot/mapserver Cloning into '/var/lib/mock/f42-build-862723-171084/root/chroot_tmpdir/scmroot/mapserver'... $ git fetch origin 8eee6ba28154b4fb8cb3072a94a9a5e9aa0965d1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/mapserver * [new ref] 8eee6ba28154b4fb8cb3072a94a9a5e9aa0965d1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8eee6ba Rebuild (GDAL)