Git Grep


05-28-2014


Filed under: git

We all use grep a lot but not git-grep enough.

NAME
       git-grep - Print lines matching a pattern

DESCRIPTION
       Look for specified patterns in the tracked files in the work tree, blobs registered
       in the index file, or blobs in given tree objects. Patterns are lists of one or
       more search expressions separated by newline characters. An empty string as search
       expression matches all lines.

Example: