]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-notes.txt
GIT 1.6.2-rc0
[thirdparty/git.git] / Documentation / git-notes.txt
CommitLineData
055a5975
JS
1git-notes(1)
2============
3
4NAME
5----
6git-notes - Add/inspect commit notes
7
8SYNOPSIS
9--------
10[verse]
11'git-notes' (edit | show) [commit]
12
13DESCRIPTION
14-----------
15This command allows you to add notes to commit messages, without
16changing the commit. To discern these notes from the message stored
17in the commit object, the notes are indented like the message, after
18an unindented line saying "Notes:".
19
20To disable commit notes, you have to set the config variable
21core.notesRef to the empty string. Alternatively, you can set it
22to a different ref, something like "refs/notes/bugzilla". This setting
23can be overridden by the environment variable "GIT_NOTES_REF".
24
25
26SUBCOMMANDS
27-----------
28
29edit::
30 Edit the notes for a given commit (defaults to HEAD).
31
32show::
33 Show the notes for a given commit (defaults to HEAD).
34
35
36Author
37------
38Written by Johannes Schindelin <johannes.schindelin@gmx.de>
39
40Documentation
41-------------
42Documentation by Johannes Schindelin
43
44GIT
45---
46Part of the gitlink:git[7] suite