gitignore 文件配置,是为了在提交代码到远程仓库时,过滤掉本地不想提交的文件。
以下配置内容作为参考:
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
/logs/
*.log
### VS Code ###
.vscode/
/.idea/
../.idea/
/log/
/out/
/src/main/java/META-INF/