Gitignore常用配置
新建的项目,需要提前将编译文件等排除在git管理范围之外,这里整理一份常用配置:
HELP.md target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/** !**/src/test/** ### 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/ ### VS Code ### .vscode/ ###idea中的配置### .svn/ target/ .idea/ *.iml .mvn/ mvnw mvnw.*
build/
dist/
参考:
https://www.cnblogs.com/zhazhaacmer/p/11221298.html
https://blog.csdn.net/weixin_30588827/article/details/97174737