Git Commands: git grep

By: Dusty Arlia
Published on Sunday, September 1, 2013, 03:42 PM
Last Updated on Friday, July 10, 2015 at 12:49 AM
Total Updates: 1

The git grep command allows you to search your repository for a certain pattern. The lines matching this pattern are printed to the screen. Here is the basic syntax:

git grep "This is your string to find"