summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-03 16:10:59 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-03 16:10:59 +0900
commit139b7d1a5a53f1b27057bbb37a7a4a14959f6a79 (patch)
treedf84f1b9ecd85274fdef383894621dab2b08fd5a /git-grep.txt
parentef75f377a0a3170ce7d5664cab4a6057d91f59c8 (diff)
downloadgit-htmldocs-139b7d1a5a53f1b27057bbb37a7a4a14959f6a79.tar.gz
Autogenerated HTML docs for v2.14.2-746-g8fb8a9
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 720c7850e..18b494731 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -289,6 +289,9 @@ providing this option will cause it to die.
<pathspec>...::
If given, limit the search to paths matching at least one pattern.
Both leading paths match and glob(7) patterns are supported.
++
+For more details about the <pathspec> syntax, see the 'pathspec' entry
+in linkgit:gitglossary[7].
Examples
--------
@@ -305,6 +308,9 @@ Examples
Looks for a line that has `NODE` or `Unexpected` in
files that have lines that match both.
+`git grep solution -- :^Documentation`::
+ Looks for `solution`, excluding files in `Documentation`.
+
GIT
---
Part of the linkgit:git[1] suite