I want to change the repository language to another language that is used in the repository.
Can anyone tell me how to change it?
GitHub uses Linguist library to determine repository statistics. You just have to create a .gitattributes files in your repository and add the following commands:
To ignore all CSS files for examples use the linguist-vendored
command:
*.html linguist-vendored
To ignore all files in a CSS folder for examples use this syntax:
css/* linguist-vendored
To force a certain file extension to be recognized as a javascript language for example use the linguist-language
command:
*.gs linguist-language=Javascript
For more information check the liguist library documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With