Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the language of a repository on GitHub?

Tags:

github

GitHub search allows filtering repositories by language. How can I set a repository to a specific language?

like image 967
ohho Avatar asked Nov 28 '12 04:11

ohho


People also ask

How do I know my GitHub language?

You can view a repository's languages to get a quick overview of the repository. GitHub uses the open source Linguist library to determine file languages for syntax highlighting and repository statistics. Language statistics will update after you push changes to your default branch.

What language are git commands?

Git was designed as a set of programs written in C and several shell scripts that provide wrappers around those programs. Although most of those scripts have since been rewritten in C for speed and portability, the design remains, and it is easy to chain the components together.


1 Answers

You can also override certain files

$ cat .gitattributes *.rb linguist-language=Java 

Source

like image 98
Zombo Avatar answered Sep 23 '22 23:09

Zombo