summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-04-23 14:27:46 +0200
committerJunio C Hamano <gitster@pobox.com>2015-04-23 18:45:33 -0700
commit9c589d971ee5712b58e1ffaf134db585478a6330 (patch)
treebccfeb63f41cb8223cbdda153125b1c3e51408ec /Documentation
parent40555000935147f56896e75b919b25f1f2d23aca (diff)
downloadgit-9c589d971ee5712b58e1ffaf134db585478a6330.tar.gz
status: document the -v/--verbose optionmg/status-v-v
Document `git status -v`, including its new doubled `-vv` form. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-status.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index 4d8d530d35..19c7661fac 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -41,6 +41,14 @@ OPTIONS
--long::
Give the output in the long-format. This is the default.
+-v::
+--verbose::
+ In addition to the names of files that have been changed, also
+ show the textual changes that are staged to be committed
+ (i.e., like the output of `git diff --cached`). If `-v` is specified
+ twice, then also show the changes in the working tree that
+ have not yet been staged (i.e., like the output of `git diff`).
+
-u[<mode>]::
--untracked-files[=<mode>]::
Show untracked files.