$ git clone -n http://git.inferitos.ru/rpms/gdal /var/lib/mock/inferit-10_0-extras-build-85006-156405/root/chroot_tmpdir/scmroot/gdal Cloning into '/var/lib/mock/inferit-10_0-extras-build-85006-156405/root/chroot_tmpdir/scmroot/gdal'... $ git fetch origin changed/i10ce/gdal-3.10.0-3.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 13311c8951d1727a0a0c398ca91529828041f980 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/gdal ! [new tag] changed/i10ce/gdal-3.10.0-3.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/gdal-3.10.0-3.el10 HEAD is now at e174c71 import gdal-3.10.0-3.el10