aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2007-05-06 23:11:55 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-07 00:14:53 -0700
commitbc3561f35991f97adfa2b22a8a5093f19717c71f (patch)
treeb5eed5fb0ecc0ea56084a24ebab66293b786d70c /Documentation/git-add.txt
parent9159afbfce955db86373dab95b5f8e31fb763dae (diff)
downloadgit-bc3561f35991f97adfa2b22a8a5093f19717c71f.tar.gz
git-bc3561f35991f97adfa2b22a8a5093f19717c71f.tar.xz
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>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 755d7186f..ea2701846 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -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