Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

incorrect repo language detection even with gitattributes

Solved! Go to Solution.

This is my repo

It shows that the programming language is html because of a log.html file.


I have created .gitattributes file

but still the same issue 

1 Reply
Community Manager
Message 2 of 2

Re: incorrect repo language detection even with gitattributes

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:


I hope this helps.

Thanks for being here, sharing, and keeping our community awesome!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!