Search GH for strings within specific file names
Snippet
Written with a loving hand by kitt some time around 08:13 on 20 May 2019
Github has a LOT of code repositories. Sometimes, you want to search for how someone does a task in a specific, well-known file name for a project. For example, all Rails apps have a Gemfile, maybe you want to find a version of a gem used in a Gemfile.
Combine Github search filters to find exactly what you need.
# search for the word "command" in all files named "app.yml" command in:file filename:app.yml
Source:
Add new comment