Browse Source

Documentation/notes: nitpicks

Spell out “or” in the NAME line and simplify the leading sentence
in the DESCRIPTION.

Some other language cleanups, too.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Jonathan Nieder 15 years ago committed by Junio C Hamano
parent
commit
1a3eb9a032
  1. 12
      Documentation/git-notes.txt

12
Documentation/git-notes.txt

@ -3,7 +3,7 @@ git-notes(1) @@ -3,7 +3,7 @@ git-notes(1)

NAME
----
git-notes - Add/inspect object notes
git-notes - Add or inspect object notes

SYNOPSIS
--------
@ -20,17 +20,17 @@ SYNOPSIS @@ -20,17 +20,17 @@ SYNOPSIS

DESCRIPTION
-----------
This command allows you to add/remove notes to/from objects, without
changing the objects themselves.
Adds, removes, or reads notes attached to objects, without touching
the objects themselves.

By default, notes are saved to and read from `refs/notes/commits`, but
this default can be overridden. See the OPTIONS, CONFIGURATION, and
ENVIRONMENT sections below. If this ref does not exist, it will be
quietly created when it is first needed to store a note.

A typical use of notes is to extend a commit message without having
to change the commit itself. Such commit notes can be shown by `git log`
along with the original commit message. To discern these notes from the
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. To distinguish these notes from the
message stored in the commit object, the notes are indented like the
message, after an unindented line saying "Notes (<refname>):" (or
"Notes:" for `refs/notes/commits`).

Loading…
Cancel
Save