News for hackers. Stuff that matters.
Re:A Hidden Git Feature: Notes by Shoothe on Monday March 05, 2018 @01:35PM (#16523179)
Git Appraise uses notes to store code review data: https://github.com/google/git-appraise
Re:A Hidden Git Feature: Notes by orivej on Monday March 05, 2018 @09:58AM (#16521424)
SubGit (an application to mirror subversion to git) is using git notes to attribute git commits to svn revisions: https://subgit.com/book.html#client_config
Re:A Hidden Git Feature: Notes by misakko on Monday March 05, 2018 @04:41PM (#16524722)
If it's just an experimental branch, what is the reason not to commit?
Re:A Hidden Git Feature: Notes by polygot on Monday March 05, 2018 @09:21AM (#16521184)
Are the notes tied to a specific commit, or is it per object?
Re:A Hidden Git Feature: Notes by anonuser123456 on Monday March 05, 2018 @10:25AM (#16521601)
A note on a commit is stored as a text file, named with the commit id (git sha). The file is revision controlled by git, usually under refs/notes/commits.

You can 'git checkout refs/notes/commits' and see the structure.

Re:A Hidden Git Feature: Notes by ayumukasuga on Monday March 05, 2018 @06:06AM (#16520218)
actually i think it would be nice also push it to remote repository..
Re:A Hidden Git Feature: Notes by htgb on Monday March 05, 2018 @09:34AM (#16521265)
Seems possible, just not straightforward: https://gist.github.com/topheman/ec8cde7c54e24a785e52

Hadn't heard about this feature, but as I understand it, the notes are stored as commits, just not in the same namespace/on the same branch as you are working on.