Document that "git add" only adds non-ignored files.
Signed-off-by: Santi Béjar <sbejar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Santi committed
May 19, 2006 at 23:02 UTC
845ae27bf8161063d7e2e1ca2a76b05bf5d07192
1 file changed
+4
-1
Documentation/git-add.txt
+4
-1
@@ -14,11 +14,13 @@ DESCRIPTION
14
A simple wrapper for git-update-index to add files to the index,
15
for people used to do "cvs add".
16
17
+It only adds non-ignored files, to add ignored files use
18
+"git update-index --add".
19
20
OPTIONS
21
-------
22
<file>...::
21
- Files to add to the index.
23
+ Files to add to the index (see gitlink:git-ls-files[1]).
24
25
-n::
26
Don't actually add the file(s), just show if they exist.
@@ -68,6 +70,7 @@ git-add git-*.sh::
70
See Also
71
--------
72
gitlink:git-rm[1]
73
+gitlink:git-ls-files[1]
74
75
Author
76
------