builtin-notes: Add "prune" subcommand for removing notes for missing objects
[gitweb.git] / Documentation / git-notes.txt
index a52d23ac1182d76e282b291e0373c492111e163f..3973f902657eb4330d8af97d8301e35371d70e18 100644 (file)
@@ -8,7 +8,7 @@ git-notes - Add/inspect commit notes
 SYNOPSIS
 --------
 [verse]
-'git notes' (edit [-F <file> | -m <msg>] | show | remove) [commit]
+'git notes' (edit [-F <file> | -m <msg>] | show | remove | prune) [commit]
 
 DESCRIPTION
 -----------
@@ -37,6 +37,8 @@ remove::
        This is equivalent to specifying an empty note message to
        the `edit` subcommand.
 
+prune::
+       Remove all notes for non-existing/unreachable objects.
 
 OPTIONS
 -------