Skip to content

Commit

Permalink
Document that "git add" only adds non-ignored files.
Browse files Browse the repository at this point in the history
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Santi authored and Junio C Hamano committed May 21, 2006
1 parent 288c038 commit 845ae27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ DESCRIPTION
A simple wrapper for git-update-index to add files to the index,
for people used to do "cvs add".

It only adds non-ignored files, to add ignored files use
"git update-index --add".

OPTIONS
-------
<file>...::
Files to add to the index.
Files to add to the index (see gitlink:git-ls-files[1]).

-n::
Don't actually add the file(s), just show if they exist.
Expand Down Expand Up @@ -68,6 +70,7 @@ git-add git-*.sh::
See Also
--------
gitlink:git-rm[1]
gitlink:git-ls-files[1]

Author
------
Expand Down

0 comments on commit 845ae27

Please sign in to comment.