Skip to content

Commit 9d5fc59

Browse files
Petr Baudisgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b39c53e commit 9d5fc59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git-add.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ files have changes that are staged for the next commit.
3333
The 'git add' command will not add ignored files by default. If any
3434
ignored files were explicitly specified on the command line, 'git add'
3535
will fail with a list of ignored files. Ignored files reached by
36-
directory recursion or filename globbing will be silently ignored.
37-
The 'add' command can be used to add ignored files with the `-f`
38-
(force) option.
36+
directory recursion or filename globbing performed by Git (quote your
37+
globs before the shell) will be silently ignored. The 'add' command can
38+
be used to add ignored files with the `-f` (force) option.
3939

4040
Please see gitlink:git-commit[1] for alternative ways to add content to a
4141
commit.

0 commit comments

Comments
 (0)