Created
May 24, 2016 17:57
-
-
Save codfish/7aa10ee515b15de64e2677c0c1d3785e to your computer and use it in GitHub Desktop.
Get an alphabetical list of files that a specific string is found within your repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git grep '<string to search for>' | awk '{print $1}' | sed 's/:$//' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment