Skip to main content

Finding files on GitHub

You can search for a file in a repository using the file finder. To search for a file in multiple repositories on GitHub, use the path code search qualifier.

Tip

  • By default, file finder results exclude some directories like build, log, tmp, and vendor. To search for files in these directories, use the path code search qualifier. Alternatively, you can customize which directories are excluded by default using a .gitattributes file.
  • You can also open the file finder by pressing t on your keyboard. For more information, see Keyboard shortcuts.

Using the file finder

  1. On GitHub, navigate to the main page of the repository.
  2. In the “Go to file” search bar, type the name of the file or directory you'd like to find.