Document git add -u introduced earlier.
This command was implemented, but not documented in dfdac5d9b877641d3aad8ec49f64c2730a3487e3. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <junkio@cox.net>
Matthieu Moy committed
May 6, 2007 at 23:11 UTC
bc3561f35991f97adfa2b22a8a5093f19717c71f
1 file changed
+5
-1
Documentation/git-add.txt
+5
-1
@@ -7,7 +7,7 @@ git-add - Add file contents to the changeset to be committed next
7
8
SYNOPSIS
9
--------
10
-'git-add' [-n] [-v] [-f] [--interactive | -i] [--] <file>...
10
+'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--] <file>...
11
12
DESCRIPTION
13
-----------
@@ -56,6 +56,10 @@ OPTIONS
56
Add modified contents in the working tree interactively to
57
the index.
58
59
+-u::
60
+ Update all files that git already knows about. This is what
61
+ "git commit -a" does in preparation for making a commit.
62
+
63
\--::
64
This option can be used to separate command-line options from
65
the list of files, (useful when filenames might be mistaken