子剪辑 svn:ignore [英] Subclipse svn:ignore

查看:14
本文介绍了子剪辑 svn:ignore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Eclipse 的新手.我正在使用 subclipse 连接到我的 SVN.有一些文件夹和文件我想添加到 svn:ignore,但它是灰色的.有没有一种简单的方法可以让 subclipse 忽略文件和目录?

I'm new to Eclipse. I'm using subclipse for connecting to my SVN. There are some folders and files I would like to add to svn:ignore, but it's grayed out. Is there an easy way to get subclipse to ignore files and directories?

推荐答案

您不能 svn:ignore 已提交到存储库的文件.

You can't svn:ignore a file that is already commited to repository.

所以你必须:

  1. 从存储库中删除文件.
  2. 将您的项目(工作副本)更新为主要修订版.
  3. 在 Eclipse 中重新创建文件.
  4. 通过 Team->Add to svn:ignore 在文件上设置 svn:ignore.
  5. 重新启动 eclipse 以反映更改.

祝你好运!

这篇关于子剪辑 svn:ignore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆