版本管理工具分为git和svn,这里以svn为例。
1.TortoiseSVN
settings,general,global ignore pattern加上target *.settings .classpath .project
2.idea参考https://www.cnblogs.com/dflmg/p/7338044.html
3.eclipse
Windows -> Preferences -> Team -> Ignored Resources里点 “Add Pattern”,然后加上
target
.project
.classpath
.settings