LDEA使用 .ignore插件
- 在 idea设置中添加 .ignore插件
- 安装后重启
- 使用需要的模板
- Java开发的模板
# Compiled class file
*.class
# Eclipse
.project
.classpath
.settings/
# Intellij
*.ipr
*.iml
*.iws
.idea/
# Maven
target/
# Gradle
build
.gradle
# Log file
*.log
log/
# out
**/out/
# Mac
.DS_Store
# others
*.jar
*.war
*.zip
*.tar
*.tar.gz
*.pid
*.orig
temp/
https://blog.csdn.net/ThinkWon/article/details/101447866
https://www.cnblogs.com/culushitai/p/10332781.html