svn:忽略已经在 subclipse 中提交的文件
我试图忽略一些我已经提交到 subclipse 存储库中的文件,
你不能 svn:ignore 一个文件 已经提交到存储库。
所以你必须:
- 从存储库中删除它
- 在 Eclipse 中重新创建它
- 通过 Team->Add to svn:ignore 设置 svn:ignore
时,菜单仍然呈灰色
- 当我选择 Team->Add to svn:ignore I 从存储库中删除了我不需要的文件夹
- 我恢复了项目团队->恢复(这是我可能做错的一点)
- 选择了团队->添加到svn:忽略,但它是灰色的。
我需要做什么?
I am trying to ignore some files that I have already committed to the repository in subclipse
I followed this from Subclipse svn:ignore
You can't svn:ignore a file that is
already commited to repository.So you must:
- Delete it from the repository
- Recreate it in Eclipse
- Set svn:ignore on it via Team->Add to svn:ignore
I am still getting a greyed out menu when I select Team->Add to svn:ignore
- I deleted the folder I don't want from the repository
- I reverted the project Team->Revert (this is the bit I may have done wrong)
- selected Team->Add to svn:ignore but it is greyed out.
what do I need to do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能需要从 svn 更新(而不是恢复)来提取您在存储库中所做的更改。
Subversion 中的恢复只是将您的工作副本与服务器重新同步到您之前签出的版本。如果您在其他地方进行了更改,则需要更新工作副本以指向服务器上的较新版本:这就是更新操作。
You probably need to Update from svn, rather than reverting, to pull in the changes that you made in the repository.
Revert in Subversion just re-syncs your working copy with the server, at the version you had previously checked out. If you made the change elsewhere, you need to update your working copy to point to the newer version on the server: that's the update operation.