7 git-grep - print lines matching a pattern
12 'git-grep' <option>... <pattern> <path>...
16 Searches list of files `git-ls-files` produces for lines
17 containing a match to the given pattern.
23 Either an option to pass to `grep` or `git-ls-files`.
24 Some `grep` options, such as `-C` and `-m`, that take
25 parameters are known to `git-grep`.
28 The pattern to look for.
32 Optional paths to limit the set of files to be searched;
33 passed to `git-ls-files`.
38 Written by Linus Torvalds <torvalds@osdl.org>
42 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
46 Part of the link:git.html[git] suite