Skip to main content

Getting started with searching on GitHub

You can use a wide range of syntax to search GitHub Enterprise Server. You can adjust the scope of your search, build and troubleshoot queries, and sort search results with qualifiers.

About searching on GitHub

Our integrated search covers the many repositories, users, and lines of code on GitHub Enterprise Server.

Understanding the search syntax

When searching GitHub Enterprise Server, you can construct queries that match specific numbers and words.

Troubleshooting search queries

If you encounter unexpected results while searching on GitHub Enterprise Server, you can troubleshoot by reviewing common problems and limitations.

Sorting search results

You can sort GitHub Enterprise Server search results using the Sort menu, or by adding a sort qualifier to your query.

Enabling GitHub.com repository search from your private enterprise environment

You can connect your personal accounts on GitHub.com and your private GitHub Enterprise environment to search for content in certain GitHub.com repositories from GitHub Enterprise Server.