设置SVN忽略列表
博客专区 > i33 的博客 > 博客详情
设置SVN忽略列表
i33 发表于3年前
设置SVN忽略列表
  • 发表于 3年前
  • 阅读 130
  • 收藏 6
  • 点赞 0
  • 评论 0

标题:腾讯云 新注册用户域名抢购1元起>>>   

设置SVN 忽略列表 官方教程

#注意两点

  • The Global Ignore List

Another way to ignore files is to add them to the global ignore list. The big difference here is that the global ignore list is a client property. It applies to all Subversion projects, but on the client PC only. In general it is better to use the svn:ignore property where possible, because it can be applied to specific project areas, and it works for everyone who checks out the project. Read the section called “General Settings” for more information.

  • Ignoring Versioned Items

Versioned files and folders can never be ignored - that's a feature of Subversion. If you versioned a file by mistake, read the section called “Ignore files which are already versioned” for instructions on how to “unversion” it.

有时想有这需求,为了方便开发,团队需要首次上传项目IDE文件之类的,以后提交 的时候不需要再提交 ,因为上面说了,已经版本控制 的文件不可能在提交时通过配置ignore来忽略(不要提交框里显示出来),那么可以有个方法曲线救国: Change Lists SVN: Is there a way to mark a file as “do not commit”?

Tip Changelists are purely a local client feature. Creating and removing changelists will not affect the repository, nor anyone else's working copy. They are simply a convenient way for you to organise your files.

#SVN 全局忽略列表

公共过虑的文件模式

*.[Bb][Aa][Kk] *.[Dd][Bb] *.[Ll][Oo][Gg] *.[Mm][Aa][Pp] *.[Tt][Mm][Pp]

delphi 源码提交时需过虑的文件模式

.~ *.[Dd][Dd][Pp] *.[Dd][Cc][Pp] *.stat *.tds

vc6 vs2003 vs2005 源码提交时需过虑的文件模式

*.aps *.clw *.ilk *.idb *.ncb *.opt *.obj *.plg *.pch *.pdb *.suo *.user [Dd]ebug [Rr]elease *.o *.bin *.out *.scc

所有需过虑的文件模式

*.[Bb][Aa][Kk] *.[Dd][Bb] *.[Ll][Oo][Gg] *.[Mm][Aa][Pp] *.[Tt][Mm][Pp] .~ *.[Dd][Dd][Pp] *.[Dd][Cc][Pp] *.stat *.tds *.aps *.clw *.ilk *.idb *.ncb *.opt *.obj *.plg *.pch *.pdb *.suo *.user [Dd]ebug [Rr]elease *.fblz *.o *.bin *.out *.scc

共有 人打赏支持
i33
粉丝 45
博文 241
码字总数 7442
×
i33
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: