Search a Git Repository
You can search the project’s Git repositories for a file name, directory name, or a term in the source code files, file paths, and file revisions.
The search field supports common programming languages, such as HTML, JavaScript, CSS, and Java. You can use these features while searching terms:
-
Language-aware
-
Auto-suggest
-
Symbols (class and function names) and file names
-
CamelCase
Here's how to search for a term in Git repositories:
Action | How To |
---|---|
Search for a term in a Git repository and a revision |
|
Search for a term in all revisions of a Git repository |
|
Search for a term in all Git repositories |
|
The search result page displays all files, file paths, and file revisions that
contain or match the search term (or symbol). To reset the search, to the left of
the Search Code box, click Back
.
Note:
If you search for multiple words, grouped instances of the words will appear highlighted together in the results even if they are separated by a space, a hyphen, or a dot.