3 ms·
Why need git notes when we already have git commit ? Seems redundant for me.
by revskill 4y ago
Why need git notes when we already have git commit ? Seems redundant for me.
- stokastik 4y agoA common use of git notes is tacking metadata onto commits. Once a commit cements itself in git’s history—that’s it. It’s impossible to amend a commit message buried deep in a repo’s log1. But git notes enable you to amend new information about old commits in a special namespace. And they’re capable of so much more. The article has an answer to this in the second paragraph.