diff --git a/.gitignore b/.gitignore index 3f2afc0..c831ca5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,29 +1,35 @@ -/logs -# Default ignored files -/shelf/ -/workspace.xml -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# Editor-based HTTP Client requests -/httpRequests/ -/logs -# ========== Maven通用忽略(核心:匹配所有层级的target) ========== -# 忽略任意目录下的target(不管是父项目还是子模块) +# ========== Maven核心忽略(多层级项目必配) ========== +# 匹配所有层级的target(父/子模块都覆盖) **/target/ -# 忽略Maven临时文件 +# Maven临时文件 *.maven -# ========== IDE配置忽略(IntelliJ IDEA) ========== -# 忽略父/子项目的.idea目录 + +# ========== IntelliJ IDEA专属忽略 ========== +# IDEA项目配置目录(包含编译器、编码、数据源等配置) **/.idea/ -# 忽略所有.iml/.ipr/.iws文件(子模块会生成) +# 模块文件(每个子模块都会生成) *.iml *.ipr *.iws -# 忽略IDE的编译缓存 +# IDEA编译输出目录(区别于Maven的target) **/out/ -# ========== IDE配置忽略(Eclipse) ========== -# 忽略所有.classpath/.project/.settings -**/.classpath -**/.project -**/.settings/ +# IDEA工作台配置(含运行配置、断点等) +**/workspace.xml +**/dataSources/ +**/dataSources.local.xml +**/httpRequests/ + +# ========== JRebel热部署配置(你项目中出现的rebel.xml) ========== +**/rebel.xml + +# ========== 通用临时/日志文件 ========== +# 日志目录 +**/logs/ +# 临时文件 +*.tmp +*.bak +*.swp +# Windows系统缩略图 +Thumbs.db +# Mac系统隐藏文件(跨平台兼容) +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore index 3f2afc0..c831ca5 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,29 +1,35 @@ -/logs -# Default ignored files -/shelf/ -/workspace.xml -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml -# Editor-based HTTP Client requests -/httpRequests/ -/logs -# ========== Maven通用忽略(核心:匹配所有层级的target) ========== -# 忽略任意目录下的target(不管是父项目还是子模块) +# ========== Maven核心忽略(多层级项目必配) ========== +# 匹配所有层级的target(父/子模块都覆盖) **/target/ -# 忽略Maven临时文件 +# Maven临时文件 *.maven -# ========== IDE配置忽略(IntelliJ IDEA) ========== -# 忽略父/子项目的.idea目录 + +# ========== IntelliJ IDEA专属忽略 ========== +# IDEA项目配置目录(包含编译器、编码、数据源等配置) **/.idea/ -# 忽略所有.iml/.ipr/.iws文件(子模块会生成) +# 模块文件(每个子模块都会生成) *.iml *.ipr *.iws -# 忽略IDE的编译缓存 +# IDEA编译输出目录(区别于Maven的target) **/out/ -# ========== IDE配置忽略(Eclipse) ========== -# 忽略所有.classpath/.project/.settings -**/.classpath -**/.project -**/.settings/ +# IDEA工作台配置(含运行配置、断点等) +**/workspace.xml +**/dataSources/ +**/dataSources.local.xml +**/httpRequests/ + +# ========== JRebel热部署配置(你项目中出现的rebel.xml) ========== +**/rebel.xml + +# ========== 通用临时/日志文件 ========== +# 日志目录 +**/logs/ +# 临时文件 +*.tmp +*.bak +*.swp +# Windows系统缩略图 +Thumbs.db +# Mac系统隐藏文件(跨平台兼容) +.DS_Store \ No newline at end of file