如何告诉子剪辑在提交时忽略修改后的文件 [英] how to tell subclipse to ignore modified file on commit

查看:56
本文介绍了如何告诉子剪辑在提交时忽略修改后的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个受版本控制并由我修改的文件.但是我不想提交它,我希望只有我可以进行我所做的特定更改,而其他所有人都可以使用原始版本的文件.
我该怎么办?

I have a file that is under version control and modified by me. However I do not want to commit it, I want that only I will have the specific change I made and everybody else will have the file in its original version.
How can I do that?

推荐答案

我经常遇到相同的问题.我的解决方案是使用变更集.如果您使用的是Mylyn,则所有更改都将添加到活动任务中.如果您不使用Mylyn,则可以在同步"视图中手动创建变更集.更改视图以显示 SVN更改集.在该视图中,您可以将每个更改添加到更改集.从现在开始仅对变更集进行提交时,就可以完全控制提交的内容.

I often have the same problem. My solution is to work with change sets. If you're working with Mylyn, every change will be added to the active task. If you're not using Mylyn, you can create change sets manually in the synchronize view. Change the view to show SVN Change Sets. In that view you can every change add to change set. When you commit from now on only change sets, you have full control about what you commit.

这只是我针对同一问题的解决方案.

That is only my solution for the same problem.

这篇关于如何告诉子剪辑在提交时忽略修改后的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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