War on whitespace
[git/dscho.git] / Documentation / git-status.txt
blob6f16eb0328f754b5f5019ff5dac51604de7d535f
1 git-status(1)
2 =============
4 NAME
5 ----
6 git-status - Show the working tree status
9 SYNOPSIS
10 --------
11 'git-status' <options>...
13 DESCRIPTION
14 -----------
15 Examines paths in the working tree that has changes unrecorded
16 to the index file, and changes between the index file and the
17 current HEAD commit.  The former paths are what you _could_
18 commit by running 'git add' before running 'git
19 commit', and the latter paths are what you _would_ commit by
20 running 'git commit'.
22 If there is no path that is different between the index file and
23 the current HEAD commit, the command exits with non-zero
24 status.
26 The command takes the same set of options as `git-commit`; it
27 shows what would be committed if the same options are given to
28 `git-commit`.
31 OUTPUT
32 ------
33 The output from this command is designed to be used as a commit
34 template comments, and all the output lines are prefixed with '#'.
37 CONFIGURATION
38 -------------
40 The command honors `color.status` (or `status.color` -- they
41 mean the same thing and the latter is kept for backward
42 compatibility) and `color.status.<slot>` configuration variables
43 to colorize its output.
45 See Also
46 --------
47 gitlink:gitignore[5]
49 Author
50 ------
51 Written by Linus Torvalds <torvalds@osdl.org> and
52 Junio C Hamano <junkio@cox.net>.
54 Documentation
55 --------------
56 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
58 GIT
59 ---
60 Part of the gitlink:git[7] suite