Search committed files
Search for a pattern among all committed files in a repository.
Authored by: Jeetpattern
Command
Copy
git grep pattern $(git rev-list --all)
Tags
Edit in GitHub
Copied
Search for a pattern among all committed files in a repository.
Authored by: Jeetgit grep pattern $(git rev-list --all)