1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "GIT-GREP" 1 "" "" ""
22 git-grep \- print lines matching a pattern
26 git\-grep [<option>...] <pattern> [<path>...]
31 Searches list of files git\-ls\-files produces for lines containing a match to the given pattern\&.
37 Either an option to pass to grep or git\-ls\-files\&. Some grep options, such as \-C and \-m, that take parameters are known to git\-grep\&.
41 The pattern to look for\&.
45 Optional paths to limit the set of files to be searched; passed to git\-ls\-files\&.
50 Written by Linus Torvalds <torvalds@osdl\&.org>
55 Documentation by Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
60 Part of the \fBgit\fR(7) suite