Browse Source

更新.gitignore

Casper 7 months ago
parent
commit
002687ebb4
1 changed files with 21 additions and 9 deletions
  1. 21 9
      .gitignore

+ 21 - 9
.gitignore

@@ -1,5 +1,5 @@
 # 忽略所有的文件
-#*
+*
 
 # 不忽略目录
 !*/
@@ -15,7 +15,7 @@
 /EgoQt/EgoDLL/x64
 /EgoQt/HttpDLL/x64
 
-# 指定不忽略文件类型
+# 不忽略指定文件类型
 !*.editorconfig
 !*.gitattributes
 !*.gitignore
@@ -24,19 +24,32 @@
 !*.txt
 
 !*.sh
+!*.py
+!*.zsh
 !*.bash
+!*Dockerfile*
+
+!*.ini
+!*.xml
 !*.yml
-!*Dockerfile
+!*.json
 
-!*.py
-!*.cpp
-!*.hpp
-!*.cc
 !*.h
 !*.c
+!*.hpp
+!*.cpp
+!*.cc
+!*.cmake
+!Makefile
+
+# --- for ros ---
+!*.launch
+!*.action
+!*.msg
+!*.cfg
+!*.srv
 
 # --- for qt ---
-!*.json
 !*.dll
 !*.lib
 !*.proto
@@ -45,7 +58,6 @@
 !*.png
 !*.js
 !*.ttf
-!*.cmake
 !*.sln
 !*.bmp
 !*.pro