status: document the -v/--verbose option
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 23 Apr 2015 12:27:46 +0000 (14:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Apr 2015 01:45:33 +0000 (18:45 -0700)
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>
Documentation/git-status.txt
index 4d8d530d3542801337f7970b669514af3131ac99..19c7661fac081a02aeb88fbbacfb2842e19af003 100644 (file)
@@ -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.