Skip to content

incorrect repo language detection even with gitattributes #22322

Discussion options

You must be logged in to vote

Hi @chanoian,

Thanks for being here! GitHub determines language statistics based on the total size of the files that belong to each language.

We use the Linguist open source library to analyze source code files. Linguist supports a number of different custom overrides strategies for language definitions and vendored paths. These are commonly used for documentation, vendor files, or generated files. You can read about how to use overrides in the Linguist documentation:

https://github.com/github/linguist#troubleshooting

I hope this helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants