summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2007-08-28 22:41:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-29 04:16:57 (GMT)
commit9d5fc59d120e2779ebe9ad0c947363785f1856b8 (patch)
treef51bf582eb7a8e496b1f629835f5987ffb8bd567 /Documentation/git-add.txt
parentb39c53e662b97108ee1bda72076630d9d0e56211 (diff)
downloadgit-9d5fc59d120e2779ebe9ad0c947363785f1856b8.zip
git-9d5fc59d120e2779ebe9ad0c947363785f1856b8.tar.gz
git-9d5fc59d120e2779ebe9ad0c947363785f1856b8.tar.bz2
git-add: Make the filename globbing note a bit clearer
I think the trick with Git-side filename globbing is important and perhaps not that well known. Clarify a bit in git-add documentation what it means. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index e5efbc9..2fe7355 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -33,9 +33,9 @@ files have changes that are staged for the next commit.
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.
+directory recursion or filename globbing performed by Git (quote your
+globs before the shell) 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.