<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<article lang="en" id="git-notes(1)">
<articleinfo>
    <title>git-notes(1)</title>
        <indexterm>
                <primary>git-notes(1)</primary>
        </indexterm>
</articleinfo>
<simplesect id="_name">
<title>NAME</title>
<simpara>git-notes - Add/inspect commit notes</simpara>
</simplesect>
<simplesect id="_synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git-notes</emphasis> (edit | show) [commit]</literallayout>
</blockquote>
</simplesect>
<simplesect id="_description">
<title>DESCRIPTION</title>
<simpara>This command allows you to add notes to commit messages, without
changing the commit.  To discern these notes from the message stored
in the commit object, the notes are indented like the message, after
an unindented line saying "Notes:".</simpara>
<simpara>To disable commit notes, you have to set the config variable
core.notesRef to the empty string.  Alternatively, you can set it
to a different ref, something like "refs/notes/bugzilla".  This setting
can be overridden by the environment variable "GIT_NOTES_REF".</simpara>
</simplesect>
<simplesect id="_subcommands">
<title>SUBCOMMANDS</title>
<variablelist>
<varlistentry>
<term>
edit
</term>
<listitem>
<simpara>
        Edit the notes for a given commit (defaults to HEAD).
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
show
</term>
<listitem>
<simpara>
        Show the notes for a given commit (defaults to HEAD).
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="_author">
<title>Author</title>
<simpara>Written by Johannes Schindelin &lt;<ulink url="mailto:johannes.schindelin@gmx.de">johannes.schindelin@gmx.de</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_documentation">
<title>Documentation</title>
<simpara>Documentation by Johannes Schindelin</simpara>
</simplesect>
<simplesect id="_git">
<title>GIT</title>
<simpara>Part of the git<ulink url="git">7</ulink> suite</simpara>
</simplesect>
</article>
