6 git-notes - Add/inspect object notes
11 'git notes' [list [<object>]]
12 'git notes' edit [-F <file> | -m <msg>] [<object>]
13 'git notes' show [<object>]
14 'git notes' remove [<object>]
20 This command allows you to add/remove notes to/from objects, without
21 changing the objects themselves.
23 A typical use of notes is to extend a commit message without having
24 to change the commit itself. Such commit notes can be shown by `git log`
25 along with the original commit message. To discern these notes from the
26 message stored in the commit object, the notes are indented like the
27 message, after an unindented line saying "Notes:".
29 To disable notes, you have to set the config variable core.notesRef to
30 the empty string. Alternatively, you can set it to a different ref,
31 something like "refs/notes/bugzilla". This setting can be overridden
32 by the environment variable "GIT_NOTES_REF".
39 List the notes object for a given object. If no object is
40 given, show a list of all note objects and the objects they
41 annotate (in the format "<note object> <annotated object>").
42 This is the default subcommand if no subcommand is given.
45 Edit the notes for a given object (defaults to HEAD).
48 Show the notes for a given object (defaults to HEAD).
51 Remove the notes for a given object (defaults to HEAD).
52 This is equivalent to specifying an empty note message to
53 the `edit` subcommand.
56 Remove all notes for non-existing/unreachable objects.
62 Use the given note message (instead of prompting).
63 If multiple `-m` options are given, their values
64 are concatenated as separate paragraphs.
68 Take the note message from the given file. Use '-' to
69 read the note message from the standard input.
74 Written by Johannes Schindelin <johannes.schindelin@gmx.de> and
75 Johan Herland <johan@herland.net>
79 Documentation by Johannes Schindelin and Johan Herland
83 Part of the linkgit:git[7] suite