项目忽略不必要的提交

版本管理工具分为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

猜你喜欢

转载自blog.csdn.net/kagurawill/article/details/86218794