`
yiyanwan77
  • 浏览: 182884 次
  • 性别: Icon_minigender_1
  • 来自: 威海
社区版块
存档分类
最新评论

svn忽略无关文件thumbs.db等

阅读更多
svn , when commit ignore files such as Thumbs.db,index.html.bak 在使用SVN提交文件目录时,经常会看到提交文件列表里包含了诸如:
Thumbs.db
index.html.bak 等
冗余文件,这些文件我们没有必要提交到svn,并使用svn管理它,那么有没有智能点的办法呢?

有,设置方法如下:

右击鼠标-> 选择 TortoiseSVN -> Setting (设置) -> General (常规设置) -> 在右侧 "Golbal ignore pattern"(全局忽略样式)内填入*.db *.bak -> 确定;

使用eclips的时候 windows -> performances -> team -> Ignored Resources -> 填入*.db *.bak


设置后,每次进行svn操作,扩展名为db和bak的文件对svn就是透明的了!

根据自己的情况,您也可以填入其它扩展名来使svn忽略扩展名为此的文件,多个扩展名请使用空格隔开。

English

sometimes when we use svn ,we'll found that, when committing, some files such as thumb.db will be committed, how to make svn ignore it ?

the following content will tell you how~

while using eclips,windows -> performances -> team -> Ignored Resources -> add *.db *.bak

then svn will ignore the file types in the list~ add other files as you want.

good luck~

分享到:
评论
2 楼 Kim_T 2013-03-28  
我的完全没用 , 不知道怎么回事? 俩个地方我都设置了
1 楼 flashlm 2009-11-15  
我设置了,在一台电脑有用,一台没有用,好神奇

相关推荐

Global site tag (gtag.js) - Google Analytics