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
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.t
on your keyboard. For more information, see Keyboard shortcuts.By default, file finder results do not include files in the following directories:
.git
.hg
.sass-cache
.svn
build
dot_git
log
tmp
vendor
You can override these default exclusions using a .gitattributes
file.
To do this, create or update a file called .gitattributes
in your repository root, setting the linguist-generated
attribute to false
for each directory that should be included in file finder results.
For example, the following .gitattributes
file would cause files in the build/
directory to be available to the file finder:
build/** linguist-generated=false
Note that this override requires the use of the recursive glob pattern (**
). For more information, see pattern format in the Git documentation. More complex overrides of subdirectories within excluded-by-default directories are not supported.
.gitattributes
in the Git documentationRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4