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~ 

相关文章:

  • 2021-11-26
  • 2021-08-21
  • 2021-05-11
  • 2021-10-12
  • 2021-07-29
  • 2021-12-20
  • 2021-09-16
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2021-11-26
  • 2021-06-30
  • 2021-08-25
  • 2021-04-25
相关资源
相似解决方案