Andrei Tarutin
Andrei Tarutin

Reputation: 683

Searching in code of GitHub repositories

How can I search in code of few GitHub repositories within a particular organisation?

Upvotes: 1

Views: 101

Answers (1)

Arkadiusz Drabczyk
Arkadiusz Drabczyk

Reputation: 12363

IIUC, you could do this to search for code in all repositories of a given organization:

https://github.com/search?q=org%3A<ORG_NAME>+<STRING_TO_SEARCH>&type=Code

for example:

https://github.com/search?q=org%3Abroadcom+main&type=Code

https://github.com/search?q=org%3Aopenwrt+main&type=Code

To limit your search to specific repositories press Advanced Search after opening above links and fill in In these repositories field.

Upvotes: 1

Related Questions