From: Matthieu Moy Date: Sun, 6 May 2007 21:11:55 +0000 (+0200) Subject: Document git add -u introduced earlier. X-Git-Tag: v1.5.2-rc3~28 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bc3561f35991f97adfa2b22a8a5093f19717c71f;p=git.git Document git add -u introduced earlier. This command was implemented, but not documented in dfdac5d9b877641d3aad8ec49f64c2730a3487e3. Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano --- 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] [--] ... +'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--] ... 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