Documentation / git-grep.txton commit Merge branch 'fixes' (952f87a)
   1git-grep(1)
   2===========
   3v0.99.6, Sep 2005
   4
   5NAME
   6----
   7git-grep - print lines matching a pattern
   8
   9
  10SYNOPSIS
  11--------
  12'git-grep' <option>... <pattern> <path>...
  13
  14DESCRIPTION
  15-----------
  16Searches list of files `git-ls-files` produces for lines
  17containing a match to the given pattern.
  18
  19
  20OPTIONS
  21-------
  22<option>...::
  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`.
  26
  27<pattern>::
  28        The pattern to look for.
  29
  30<path>...::
  31
  32        Optional paths to limit the set of files to be searched;
  33        passed to `git-ls-files`.
  34
  35
  36Author
  37------
  38Written by Linus Torvalds <torvalds@osdl.org>
  39
  40Documentation
  41--------------
  42Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
  43
  44GIT
  45---
  46Part of the gitlink:git[7] suite
  47