Skip to content

refs/notes/ai push is rejected by enterprise Git hooks because notes commits use hard-coded git-ai <git-ai@local> and empty messages #1376

Closed

Description

@SampsonKY

Summary

In recent git-ai versions, authorship notes are written to refs/notes/ai through the batch / git fast-import path. The generated notes commits use a hard-coded committer identity:

git-ai <git-ai@local>

This causes refs/notes/ai pushes to be rejected by enterprise GitLab / Git server pre-receive hooks that enforce valid commit author/committer identity and non-empty commit messages for all pushed refs.

Activity

  1. svarlamov commented on Jul 18, 2026

    @svarlamov
    Member

    Closing as out of scope. There are a lot of various issues with git notes in large enterprise environments and we cannot satisfy all the requirements as many of them are mutually-exclusive. For large deployments, we strongly suggest using a non-git notes store such as our enterprise notes backend at https://usegitai.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions