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

incorrect repo language detection even with gitattributes

Solved! Go to Solution.

This is my repo 

https://github.com/Chanoian/SeleniumAutomation

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

 

I have created .gitattributes file 

https://github.com/Chanoian/SeleniumAutomation/blob/master/.gitattributes

but still the same issue 

1 Reply
Solution
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:

 

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

 

I hope this helps.

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

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