6 git-grep - Print lines matching a pattern
11 'git-grep' [<option>...] [-e] <pattern> [--] [<path>...]
15 Searches list of files `git-ls-files` produces for lines
16 containing a match to the given pattern.
22 Signals the end of options; the rest of the parameters
26 Either an option to pass to `grep` or `git-ls-files`.
28 The following are the specific `git-ls-files` options
29 that may be given: `-o`, `--cached`, `--deleted`, `--others`,
30 `--killed`, `--ignored`, `--modified`, `--exclude=\*`,
31 `--exclude-from=\*`, and `--exclude-per-directory=\*`.
33 All other options will be passed to `grep`.
36 The pattern to look for. The first non option is taken
37 as the pattern; if your pattern begins with a dash, use
41 Optional paths to limit the set of files to be searched;
42 passed to `git-ls-files`.
47 Written by Linus Torvalds <torvalds@osdl.org>
51 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
55 Part of the gitlink:git[7] suite