Search a Repository
Find a file
To find a specific file in a repository:
Find a commit (revision)
To find a specific commit in a repository:
Go to the Commits tab.
The Filter commits field on top of the commit list lets you search by words and phrases contained in commit messages:
Use Filter by path to filter commits by files and folders. For example, enter src/app/resources to return commits that affected files contained in the resources folder.
You can further narrow down your search by picking a specific commit author, branch, and time span.
Find text, symbols, code fragments
You can search the source code for text occurrences across all files in the repository, or narrow down your search to specific file types.
To search the source code for text occurences:
Go to the Files tab.
Click Search in files:
Enter your text query:
Your search will be limited to the default branch.
Go to the Advanced options to:
Search the entire repository.
Limit your search to specific file types — enter file masks (for example
Hit Enter or click Search: