Document git commit --untracked-files and --verbose
Documentation based on description of commit 443f8338 which added '-u'|'--untracked-files' option to git-status, and on git-runstatus(1) man page. Note that those options apply also to git-status. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jakub Narebski committed
Jul 13, 2007 at 01:54 UTC
af83bed6903256c581f081ba7bba372f19804b30
1 file changed
+14
-1
Documentation/git-commit.txt
+14
-1
@@ -8,7 +8,7 @@ git-commit - Record changes to the repository
8
SYNOPSIS
9
--------
10
[verse]
11
-'git-commit' [-a | --interactive] [-s] [-v]
11
+'git-commit' [-a | --interactive] [-s] [-v] [-u]
12
[(-c | -C) <commit> | -F <file> | -m <msg> | --amend]
13
[--no-verify] [-e] [--author <author>]
14
[--] [[-i | -o ]<file>...]
@@ -115,6 +115,19 @@ but can be used to amend a merge commit.
115
as well. This is usually not what you want unless you
116
are concluding a conflicted merge.
117
118
+-u|--untracked-files::
119
+ Show all untracked files, also those in uninteresting
120
+ directories, in the "Untracked files:" section of commit
121
+ message template. Without this option only its name and
122
+ a trailing slash are displayed for each untracked
123
+ directory.
124
+
125
+-v|--verbose::
126
+ Show unified diff between the HEAD commit and what
127
+ would be committed at the bottom of the commit message
128
+ template. Note that this diff output doesn't have its
129
+ lines prefixed with '#'.
130
+
131
-q|--quiet::
132
Suppress commit summary message.
133