Add .gitattributes to show C++ as primary language
This commit is contained in:
parent
6020b4a908
commit
0baed2271c
10
.gitattributes
vendored
Normal file
10
.gitattributes
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
# 忽略构建相关文件的语言统计
|
||||
Makefile linguist-detectable=false
|
||||
CMakeCache.txt linguist-generated=true
|
||||
cmake_install.cmake linguist-generated=true
|
||||
*.cmake linguist-generated=true
|
||||
|
||||
# 标记 C++ 为主要语言
|
||||
*.cpp linguist-language=C++
|
||||
*.h linguist-language=C++
|
||||
*.hpp linguist-language=C++
|
||||
Loading…
Reference in New Issue
Block a user