summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-04-23 14:27:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-04-23 18:45:33 -0700
commit9c589d971ee5712b58e1ffaf134db585478a6330 (patch)
treebccfeb63f41cb8223cbdda153125b1c3e51408ec
parentcommit/status: show the index-worktree diff with -v -v (diff)
downloadtgif-9c589d971ee5712b58e1ffaf134db585478a6330.tar.xz
status: document the -v/--verbose option
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>
-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.