]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-add.txt
Merge branch 'master' of git://repo.or.cz/git-gui
[git.git] / Documentation / git-add.txt
index b73a99d61f57c7d532bbf8dc94bf2cb167d78058..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
 -----------
@@ -52,10 +52,14 @@ OPTIONS
 -f::
        Allow adding otherwise ignored files.
 
-\i, \--interactive::
+-i, \--interactive::
        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