A typical use of notes is to supplement a commit message without changing the commit itself. Notes can be shown by git log along with the original commit message (Git-notes documentation). With TortoiseGit I can create a note by Edit notes context menu, and then push this note to a remote repository by the Sync -> Push notes command. The notes then appear in the remote repository as expected.
On the other side I didn't find any possibility to fetch notes, neither with clone, nor with fetch or pull command.
What is the usual way to make sure git notes appear in every cloned repository?
Edit: I'm using TortoiseGit 2.7.0.0 and Git 2.19.2.windows.1 on Windows 10.
Notes are implemented in Git as a "normal" branch.
Therefore, you can easily fetch, pull and push it using
refs/notes/commits
. Just enterrefs/notes/commits
as local and remote branch in the fetch/pull/push dialog.cf. https://web.archive.org/web/20180121193320/http://git-scm.com/blog/2010/08/25/notes.html and https://stackoverflow.com/a/18269026/3906760.