在svn命令行提交中排除一些文件(不是svn:ignore) [英] Exclude some files on svn command line commit (not svn:ignore)
本文介绍了在svn命令行提交中排除一些文件(不是svn:ignore)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在与很多人一起开发。
我检出远程存储库,得到3个文件。编辑后,运行:
svn状态
它显示:
M file_1
M file_2
M file_3
现在,我只想提交两个文件:file_1,file_2,但不提交file_3。
怎么做?
我不想使用
svn还原file_3
在提交之前。
说明:我编辑file_1,file_2用于共享项目,file_3仅在本地计算机上运行。
方案
怎么样:
$ svn commit file_1 file_2
I'm developing with many people.
I check out remote repository, get 3 file. After edit, run:
svn status
It shows:
M file_1
M file_2
M file_3
Now, I want to commit only two file: file_1, file_2, but not file_3.
How to do it?
I dont' want to use
svn revert file_3
before commit.
Explain: I edit file_1, file_2 for shared project, file_3 for running on only my local machine.
解决方案
How about:
$ svn commit file_1 file_2
这篇关于在svn命令行提交中排除一些文件(不是svn:ignore)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文