.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-ADD" "1" "04/22/2007" "Git 1.5.1.2.241.gfdd3e" "Git Manual"
+.TH "GIT\-ADD" "1" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.SH "NAME"
git\-add \- Add file contents to the changeset to be committed next
.SH "SYNOPSIS"
-\fIgit\-add\fR [\-n] [\-v] [\-f] [\-\-interactive | \-i] [\-\-] <file>\&...
+\fIgit\-add\fR [\-n] [\-v] [\-f] [\-\-interactive | \-i] [\-u] [\-\-] <file>\&...
.SH "DESCRIPTION"
All the changed file contents to be committed together in a single set of changes must be "added" with the \fIadd\fR command before using the \fIcommit\fR command. This is not only for adding new files. Even modified files must be added to the set of changes about to be committed.
\-i, \-\-interactive
Add modified contents in the working tree interactively to the index.
.TP
+\-u
+Update all files that git already knows about. This is what "git commit \-a" does in preparation for making a commit.
+.TP
\-\-
This option can be used to separate command\-line options from the list of files, (useful when filenames might be mistaken for command\-line options).
.SH "EXAMPLES"
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-CLEAN" "1" "04/24/2007" "Git 1.5.2.rc0.14.g520d" "Git Manual"
+.TH "GIT\-CLEAN" "1" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
Remove untracked directories in addition to untracked files.
.TP
\-f
-If the git configuration specifies clean.forceRequire as true, git\-clean will refuse to run unless given \-f or \-n.
+If the git configuration specifies clean.requireForce as true, git\-clean will refuse to run unless given \-f or \-n.
.TP
\-n
Don't actually remove anything, just show what would be done.
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-CVSEXPORTCOMMIT" "1" "04/22/2007" "Git 1.5.1.2.241.gfdd3e" "Git Manual"
+.TH "GIT\-CVSEXPORTCOMMIT" "1" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
Supports file additions, removals, and commits that affect binary files.
-If the commit is a merge commit, you must tell git\-cvsapplycommit what parent should the changeset be done against.
+If the commit is a merge commit, you must tell git\-cvsexportcommit what parent should the changeset be done against.
.SH "OPTIONS"
.TP
\-c
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-LS\-FILES" "1" "04/22/2007" "Git 1.5.1.2.241.gfdd3e" "Git Manual"
+.TH "GIT\-LS\-FILES" "1" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
Show other files in the output
.TP
\-i|\-\-ignored
-Show ignored files in the output Note the this also reverses any exclude list present.
+Show ignored files in the output. Note that this also reverses any exclude list present.
.TP
\-s|\-\-stage
Show stage files in the output
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-UPDATE\-INDEX" "1" "04/22/2007" "Git 1.5.1.2.241.gfdd3e" "Git Manual"
+.TH "GIT\-UPDATE\-INDEX" "1" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.SH "DESCRIPTION"
Modifies the index or directory cache. Each file mentioned is updated into the index and any \fIunmerged\fR or \fIneeds updating\fR state is cleared.
+See also \fBgit\-add\fR(1) for a more user\-friendly way to do some of the most common operations on the index.
+
The way "git\-update\-index" handles files it is told about can be modified using the various options:
.SH "OPTIONS"
.TP
The command looks at core.ignorestat configuration variable. See \fIUsing "assume unchanged" bit\fR section above.
.SH "SEE ALSO"
-\fBgit\-config\fR(1)
+\fBgit\-config\fR(1), \fBgit\-add\fR(1)
.SH "AUTHOR"
Written by Linus Torvalds <torvalds@osdl.org>
.SH "DOCUMENTATION"
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT" "7" "05/01/2007" "Git 1.5.2.rc1" "Git Manual"
+.TH "GIT" "7" "05/08/2007" "Git 1.5.2.rc2.21.g3082" "Git Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.SH "DESCRIPTION"
Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high\-level operations and full access to internals.
-See this [1]\&\fItutorial\fR to get started, then see [2]\&\fIEveryday Git\fR for a useful minimum set of commands, and "man git\-commandname" for documentation of each command. CVS users may also want to read [3]\&\fICVS migration\fR. [4]\&\fIGit User's Manual\fR is still work in progress, but when finished hopefully it will guide a new user in a coherent way to git enlightenment ;\-).
+See this [1]\&\fItutorial\fR to get started, then see [2]\&\fIEveryday Git\fR for a useful minimum set of commands, and "man git\-commandname" for documentation of each command. CVS users may also want to read [3]\&\fICVS migration\fR. See [4]\&\fIGit User's Manual\fR for a more in\-depth introduction.
The COMMAND is either a name of a Git command (see below) or an alias as defined in the configuration file (see \fBgit\-config\fR(1)).