summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-20 17:53:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-20 17:53:17 -0700
commit378335b37cd711a44bd4c85d3643db36a7f1ac67 (patch)
tree896e2b44286c2f6c11dedd389ffb6ef5ea3f7337 /Documentation
parent"needs update" considered harmful (diff)
parentgit-add --all: documentation (diff)
downloadtgif-378335b37cd711a44bd4c85d3643db36a7f1ac67.tar.xz
Merge branch 'jc/add-addremove'
* jc/add-addremove: git-add --all: documentation git-add --all: tests git-add --all: add all files builtin-add.c: restructure the code for maintainability Conflicts: builtin-add.c
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 3558905a92..2b6d6c8654 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -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.