Browse Source

[.gitattributes] 解决github显示C++代码比例虚高的问题

Meco Man 4 years ago
parent
commit
87975c56e8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .gitattributes

+ 5 - 0
.gitattributes

@@ -40,3 +40,8 @@ COPYING text
 *.sct -text
 *.xsd -text
 Jamfile -text
+
+*.c linguist-language=C
+*.C linguist-language=C
+*.h linguist-language=C
+*.H linguist-language=C