A commit message captures what was known when the commit was made. A review may happen later. Git notes let you attach that later context to the commit without changing the commit object or its identifier. The note appears alongside the message in a normal git log view.
Where the note lives
Git stores the default notes under refs/notes/commits. Each change to that notes ref has its own history. The original commit stays as it was. That makes a note useful for a review outcome, a link to an audit record, or information that arrived after the commit. The note can also be edited, so treat its contents as a record to review, rather than proof of approval on its own. Git documents both the notes ref and its history.
How to attach and inspect one
Choose the commit you want to annotate. Replace <commit> with its identifier, then write a short note that names the review and points to its evidence:
git notes add -m 'Audit: dependency review completed; evidence in team tracker' <commit>
git notes show <commit>
git log -1 --notes <commit>
The first command adds the note. The second prints it directly. The last shows it with the commit message. Git’s notes manual describes add and show; the log manual describes how notes are displayed. If that commit already has a note, git notes add normally stops instead of replacing it. Read the existing note before choosing whether to edit or append to it.
How to share it
Notes have their own ref. A routine branch push follows the configured push mapping, so include the notes ref explicitly when you want to share it:
git push origin refs/notes/commits:refs/notes/commits
A collaborator can fetch that ref into a separate local ref before merging notes:
git fetch origin refs/notes/commits:refs/notes/origin-commits
git notes merge refs/notes/origin-commits
The push and fetch manuals explain these ref mappings. Git’s notes manual explains notes merging, including conflict handling.
What to do
- Pick the existing commit and find the review evidence.
- Add a concise note that names the review and where its evidence lives.
- Read it with
git notes showandgit log -1 --notes. - Share the notes ref if others need the context, and agree on how your team reviews later edits.

The Campfire
No commentsNobody has pulled up a log by this one yet. Be the first to say what you make of it.
Held for the desk. It appears after a look.