1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
\r
4 <article lang="en" id="git-notes(1)">
\r
6 <title>git-notes(1)</title>
\r
8 <primary>git-notes(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-notes - Add/inspect commit notes</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
18 <literallayout><emphasis>git-notes</emphasis> (edit | show) [commit]</literallayout>
\r
21 <simplesect id="_description">
\r
22 <title>DESCRIPTION</title>
\r
23 <simpara>This command allows you to add notes to commit messages, without
\r
24 changing the commit. To discern these notes from the message stored
\r
25 in the commit object, the notes are indented like the message, after
\r
26 an unindented line saying "Notes:".</simpara>
\r
27 <simpara>To disable commit notes, you have to set the config variable
\r
28 core.notesRef to the empty string. Alternatively, you can set it
\r
29 to a different ref, something like "refs/notes/bugzilla". This setting
\r
30 can be overridden by the environment variable "GIT_NOTES_REF".</simpara>
\r
32 <simplesect id="_subcommands">
\r
33 <title>SUBCOMMANDS</title>
\r
41 Edit the notes for a given commit (defaults to HEAD).
\r
51 Show the notes for a given commit (defaults to HEAD).
\r
57 <simplesect id="_author">
\r
58 <title>Author</title>
\r
59 <simpara>Written by Johannes Schindelin <<ulink url="mailto:johannes.schindelin@gmx.de">johannes.schindelin@gmx.de</ulink>></simpara>
\r
61 <simplesect id="_documentation">
\r
62 <title>Documentation</title>
\r
63 <simpara>Documentation by Johannes Schindelin</simpara>
\r
65 <simplesect id="_git">
\r
67 <simpara>Part of the git<ulink url="git">7</ulink> suite</simpara>
\r