且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SVN 提交特定文件

更新时间:2023-11-22 17:05:52

好的.只需列出文件:

$ svn ci -m "Fixed all those horrible crashes" foo bar baz graphics/logo.png

我不知道有什么方法可以告诉它忽略某些文件集.当然,如果你想提交的文件很容易被 shell 列出,你可以使用它:

I'm not aware of a way to tell it to ignore a certain set of files. Of course, if the files you do want to commit are easily listed by the shell, you can use that:

$ svn ci -m "No longer sets printer on fire" printer-driver/*.c

您还可以让 svn 命令从文件中读取要提交的文件列表:

You can also have the svn command read the list of files to commit from a file:

$ svn ci -m "Now works" --targets fix4711.txt