Github Linguist does not recognize the languages of the Repo
sylhare opened this issue · comments
Sometime github does not recognize the extension of the repo. But it can be configured in the .gittatributes file.
Here are some links that can help:
As detailed in "Github changes repository to wrong language", you can add a .gitattributes
file in which you can:
-
ignore part of your project (not considered for language detection)
static/* linguist-vendored
-
consider part of your project as documentation:
docs/* linguist-documentation
-
indicate some files with specific extension (for instance
*.rb
) should be considered a specific language:*.rb linguist-language=Java