Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-07-09. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

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.