summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-04-23 12:27:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-04-24 01:45:33 (GMT)
commit9c589d971ee5712b58e1ffaf134db585478a6330 (patch)
treebccfeb63f41cb8223cbdda153125b1c3e51408ec /Documentation
parent40555000935147f56896e75b919b25f1f2d23aca (diff)
downloadgit-9c589d971ee5712b58e1ffaf134db585478a6330.zip
git-9c589d971ee5712b58e1ffaf134db585478a6330.tar.gz
git-9c589d971ee5712b58e1ffaf134db585478a6330.tar.bz2
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>
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 4d8d530..19c7661 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.