Code

Document git add -u introduced earlier.
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Sun, 6 May 2007 21:11:55 +0000 (23:11 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 May 2007 07:14:53 +0000 (00:14 -0700)
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>
Documentation/git-add.txt

index 755d7186f5f4a74dc84cc98c67eec0b9c86b6289..ea2701846f3b9f2ddd86942223df65872a70b64f 100644 (file)
@@ -7,7 +7,7 @@ git-add - Add file contents to the changeset to be committed next
 
 SYNOPSIS
 --------
-'git-add' [-n] [-v] [-f] [--interactive | -i] [--] <file>...
+'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--] <file>...
 
 DESCRIPTION
 -----------
@@ -56,6 +56,10 @@ OPTIONS
        Add modified contents in the working tree interactively to
        the index.
 
+-u::
+       Update all files that git already knows about. This is what
+       "git commit -a" does in preparation for making a commit.
+
 \--::
        This option can be used to separate command-line options from
        the list of files, (useful when filenames might be mistaken