How to change the language of the GitHub repository?
When we upload our code toGithubAnd the language detected by the system isCSS
OMG! How can you do this! no need to worry
First GitHub uselinguist libraryTo check what language the code you upload is written in
So we can’t change it casually, but we canCompulsoryGo to modify!
Method:
1. First create a file .gitattributes on your repository
2. Then write the code to modify the language you want in this file
*.css linguist-language=PHP // 把css 改成 PHP语言
3.okay The language of the project you uploaded has been modified!