summaryrefslogtreecommitdiffstats
path: root/git-add.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-08-17 07:48:05 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-08-17 07:48:05 +0000
commit3c1f2c7512cc132bb2ac42233fea8cd1ef4c31f9 (patch)
tree249d4800c15ff4d1af57bd4d0d0c1ad725d10876 /git-add.txt
parent3b178be477d5f20850528f5232064ee7d1ec484c (diff)
downloadgit-htmldocs-3c1f2c7512cc132bb2ac42233fea8cd1ef4c31f9.tar.gz
Autogenerated HTML docs for v1.5.3-rc5-15-ga9ab2
Diffstat (limited to 'git-add.txt')
-rw-r--r--git-add.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/git-add.txt b/git-add.txt
index dee38f825..3383aca9a 100644
--- a/git-add.txt
+++ b/git-add.txt
@@ -28,10 +28,12 @@ you must run 'git add' again to add the new content to the index.
The 'git status' command can be used to obtain a summary of which
files have changes that are staged for the next commit.
-The 'add' command can be used to add ignored files with `-f` (force)
-option, but they have to be explicitly and exactly specified from the
-command line. File globbing and recursive behaviour do not add ignored
-files.
+The 'git add' command will not add ignored files by default. If any
+ignored files were explicitly specified on the command line, 'git add'
+will fail with a list of ignored files. Ignored files reached by
+directory recursion or filename globbing will be silently ignored.
+The 'add' command can be used to add ignored files with the `-f`
+(force) option.
Please see gitlink:git-commit[1] for alternative ways to add content to a
commit.