IDEA简单配置git忽略文件
在项目目录下创建名为 .gitignore 的文件,输入以下配置
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
# java 编译后的文件
/target/
# 文件本身
.gitignore
# IntelliJ project files
.idea
*.iml
*.iws
*.ipr
out
gen
# Log file
*.log
# BlueJ files
*.ctxt
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar