Navigation Menu

Skip to content

Repo language issue #23755

Discussion options

You must be logged in to vote

Hi there! 👋 Welcome to the Community!

When you say “the github repo is taking it as java” I think you’re talking about the language bar that displays on the front of the repository? 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. You can read about how to use overrides in the Linguist documentation:

GitHub

github/linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request! - github/linguist

…and create a .gitattributes file that specifies your file should be HTML, not Java.

That won’t affect how your website d…

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