Skip to content

Commit da98053

Browse files
committed
git-add --all: documentation
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 340ce9e commit da98053

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/git-add.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
12-
[--update | -u] [--refresh] [--ignore-errors] [--]
12+
[--all | [--update | -u]] [--refresh] [--ignore-errors] [--]
1313
<filepattern>...
1414

1515
DESCRIPTION
@@ -86,6 +86,12 @@ OPTIONS
8686
command line. If no paths are specified, all tracked files in the
8787
current directory and its subdirectories are updated.
8888

89+
-A::
90+
--all::
91+
Update files that git already knows about (same as '\--update')
92+
and add all untracked files that are not ignored by '.gitignore'
93+
mechanism.
94+
8995
--refresh::
9096
Don't add the file(s), but only refresh their stat()
9197
information in the index.

0 commit comments

Comments
 (0)