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 filename code search qualifier.

Tips:

  • File finder results exclude some directories like build, log, tmp, and vendor. To search for files within these directories, use the filename code search qualifier.
  • You can also open the file finder by pressing t on your keyboard. For more information, see "Keyboard shortcuts."
  1. 在 GitHub 上,导航到仓库的主页面。
  2. Above the list of files, click Go to file. Find file button
  3. In the search field, type the name of the file you'd like to find. Find file search field
  4. In the list of results, click the file you wanted to find.

Further reading

此文档对您有帮助吗?隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。