From: Santi Date: Fri, 19 May 2006 21:02:34 +0000 (+0200) Subject: Document that "git add" only adds non-ignored files. X-Git-Tag: v1.4.0-rc1~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=845ae27bf8161063d7e2e1ca2a76b05bf5d07192;p=git.git Document that "git add" only adds non-ignored files. Signed-off-by: Santi BĂ©jar Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index 5e3112943..6342ea33e 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -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 ------- ...:: - 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. @@ -68,6 +70,7 @@ git-add git-*.sh:: See Also -------- gitlink:git-rm[1] +gitlink:git-ls-files[1] Author ------