Repository Search on all Repositories
1/9/2018: Whoops! This post is out of date. For more information on searching repositories on GitHub, check out our documentation. Today we are allowing you to search your own public…
1/9/2018: Whoops! This post is out of date. For more information on searching repositories on GitHub, check out our documentation.
Today we are allowing you to search your own public repositories and any private repositories you have access to.
In an effort to simplify our search, we’ve consolidated our search boxes into one. There’s no need to look around anymore for the search box: it’s always at the top.
When you’re on a repository page, you’ll see an indication that you’re searching that repository by default:

To search globally, all you need to do is select the All repositories option:

You may have already noticed that the command bar will also give you these options:

Finally, if you didn’t find what you were looking for in your repository, you can turn a repository search into a global search by clicking Search all of GitHub.

For any search related questions, take a look at a our search guides.
Good luck, gumshoes!
Written by
Related posts
Introducing Agent HQ: Any agent, any way you work
At Universe 2025, GitHub’s next evolution introduces a single, unified workflow for developers to be able to orchestrate any agent, any time, anywhere.
Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1
In this year’s Octoverse, we uncover how AI, agents, and typed languages are driving the biggest shifts in software development in more than a decade.
Announcing the 2025 GitHub Partner Award winners 🎉
GitHub celebrates its 2025 Partner Award winners, honoring global, regional, and technology partners for driving innovation, collaboration, and impact across the developer ecosystem.