Ver código fonte

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

Meco Man 4 anos atrás
pai
commit
87975c56e8
1 arquivos alterados com 5 adições e 0 exclusões
  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