April
1st,
2018
Search string
Another practical example is to search for content that are usually in a certain path. For example circleci 2.0 files are are stored in
Search a npm package that is used in a project. This is useful to get ideas of how package is setup and used. github
rbac filename:package.json
Search repos with more than 100 stars. github
rbac filename:package.json stars:>100
Search repos with more than 100 stars and a javascript repo.github
rbac filename:package.json stars:>100 language:javascript
Search string ecs
in a file with .tf extension. github
ecs extension:tf
Another practical example is to search for content that are usually in a certain path. For example circleci 2.0 files are are stored in <repo-root>/.circleci/config.yml
. Say you want to find an example of psql usage in circleci manifest file: github
psql filename:config.yml path:.circleci