Using Git, how could I search within all files in all local branches for a given string?
GitHub specific: is it possible to perform the above search across all GitHu
You can do this on a Git repository:
git grep "string/regexp" $(git rev-list --all)
GitHub advanced search has code search capability:
The code search will look through all of the code publicly hosted on GitHub. You can also filter by:
language:repo:path: