summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 19b28bf)
raw | patch | inline | side by side (parent: 19b28bf)
author | Brian Downing <bdowning@lavos.net> | |
Thu, 16 Aug 2007 22:56:08 +0000 (17:56 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 16 Aug 2007 23:44:19 +0000 (16:44 -0700) |
Signed-off-by: Brian Downing <bdowning@lavos.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt | patch | blob | history |
index dee38f8250f2a2757155853b246b75029dd303bc..3383aca9aff5bbcfeaaa782736c226cad29b25b7 100644 (file)
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.