git-add --all: documentation
authorJunio C Hamano <gitster@pobox.com>
Sun, 20 Jul 2008 05:34:16 +0000 (22:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 20 Jul 2008 06:08:58 +0000 (23:08 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt

index 3558905a92a20f1f615a48821638ce239ecb6232..2b6d6c86547b2cec370d34b14ddef25264404892 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
-         [--update | -u] [--refresh] [--ignore-errors] [--]
+         [--all | [--update | -u]] [--refresh] [--ignore-errors] [--]
          <filepattern>...
 
 DESCRIPTION
@@ -86,6 +86,12 @@ OPTIONS
        command line. If no paths are specified, all tracked files in the
        current directory and its subdirectories are updated.
 
+-A::
+--all::
+       Update files that git already knows about (same as '\--update')
+       and add all untracked files that are not ignored by '.gitignore'
+       mechanism.
+
 --refresh::
        Don't add the file(s), but only refresh their stat()
        information in the index.