Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-add: Make the filename globbing note a bit clearer
author
Petr Baudis
<pasky@suse.cz>
Tue, 28 Aug 2007 22:41:28 +0000
(
00:41
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 29 Aug 2007 04:16:57 +0000
(21:16 -0700)
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>
Documentation/git-add.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
b39c53e
)
diff --git
a/Documentation/git-add.txt
b/Documentation/git-add.txt
index e5efbc9a4e6280b8ffe72969e2269dfb970a18e6..2fe73555559d5a31a7122c9e5ebb039db9428dbc 100644
(file)
--- 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
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.
Please see gitlink:git-commit[1] for alternative ways to add content to a
commit.