Is it possible to search for a particular filename on GitHub?

后端 未结 8 838
遇见更好的自我
遇见更好的自我 2021-01-30 01:27

I know that the GitHub web interface lets you search all repositories for files with a particular pathname (e.g. searching for path:/app/models/user.rb yields >

8条回答
  •  一整个雨季
    2021-01-30 01:42

    GitHub introduced FileFinder in 2011.

    Try it out: just hit t on any repo's file or directory view.[1]

    So, You're still restricted to repository.

    [1]https://github.com/blog/793-introducing-the-file-finder

    Another approach to Your question:

    Can I use Git to search for matching filenames in a repository?

提交回复
热议问题