"Go to file" dialog ("t" keyboard shortcut) should NOT hide the files from "build" folder #7985
-
IssueIn the "Go to file" dialog ( ExplanationThe assumption is that This assumption maybe holds in Java, but does not hold in many other languages. For example, in JavaScript world, the customary folder for derived build artifacts is So the Java-specific assumption is adding its weight on all repositories, and is not configurable. I worked with many JS repositories where this was happening, and it's very frustrating. OTOH, renaming the directory just for GH to be happy (while making history harder to navigate due to massive rename) is something that most people don't want to do (partly because GitHub UI for file history does not follow renames). Curiously, the contents of TestGo to https://github.com/jakub-g/github-test Now go to https://github.com/jakub-g/github-test/find/main Possible solutionI understand this is probably because But IMO the solution to this problem should not be a naive hardcoded "block everything". Example solution could be something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This has been shipped via github/docs@37df8ea The solution is to add the following to See https://docs.github.com/en/search-github/searching-on-github/finding-files-on-github |
Beta Was this translation helpful? Give feedback.


This has been shipped via github/docs@37df8ea
The solution is to add the following to
.gitattributes:See https://docs.github.com/en/search-github/searching-on-github/finding-files-on-github