3

I can't seem to find any indication in the GitHub UI which languages it thinks my projects are in.

Also, is there a way to suggest a different set of languages for each project?

3

Click on the color bar in the screenshot below:

enter image description here

FYI: How does github figure out a project's language? (answer: using the linguist library)

2

To complete Franck Demoncourt's answer and answer the second question:

Also, is there a way to suggest a different set of languages for each project?

You can use Linguist overrides to change the language of a set of files. This will impact syntax highlighting as well as language statistics. For example, with a .gitattributes file you make sure Linguist recognizes all your .h files as C++:

*.h linguist-language=C++

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.