Code

Merge branch 'js/reverse'
[git.git] / Documentation / git-status.txt
index 886fb7c02c290baff2ddc5eefe1ee9150dbb5604..03871e5d734dc295bba92e965721f6aa4142172f 100644 (file)
@@ -1,15 +1,14 @@
 git-status(1)
 =============
-v0.99.4, Aug 2005
 
 NAME
 ----
-git-status - Show working tree status.
+git-status - Show the working tree status
 
 
 SYNOPSIS
 --------
-'git status'
+'git-status' <options>...
 
 DESCRIPTION
 -----------
@@ -24,6 +23,10 @@ If there is no path that is different between the index file and
 the current HEAD commit, the command exits with non-zero
 status.
 
+The command takes the same set of options as `git-commit`; it
+shows what would be committed if the same options are given to
+`git-commit`.
+
 
 OUTPUT
 ------
@@ -31,6 +34,15 @@ The output from this command is designed to be used as a commit
 template comments, and all the output lines are prefixed with '#'.
 
 
+CONFIGURATION
+-------------
+
+The command honors `color.status` (or `status.color` -- they
+mean the same thing and the latter is kept for backward
+compatibility) and `color.status.<slot>` configuration variables
+to colorize its output.
+
+
 Author
 ------
 Written by Linus Torvalds <torvalds@osdl.org> and
@@ -42,5 +54,5 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel
 
 GIT
 ---
-Part of the link:git.html[git] suite
+Part of the gitlink:git[7] suite