同步代码时忽略maven项目 target目录

 

方式一:

 在项目代码路径,如: F:\xyx\sl  鼠标右键,“TortoiseSVN”-- >“Settings” -->"Subversion"-->"Global ignore pattern"

 

分别添加: */target/*    *.settings   .classpath  .project ,然后再"运用"-->"确定"

 

方式二:

windows -> Preferences -> Team -> Ignored Resources -> Add Pattern -> */target/* -> Apply -> OK

 

分别添加:

*/target/*

 *.settings

 .classpath  

.project

 

posted @ 2018-08-15 10:56  panchanggui  阅读(1607)  评论(0编辑  收藏  举报