nhe*_*que 14 svn message newline commit
我正在尝试使用消息中的新行进行svn提交
我该怎么做这个换行符?我试过了
svn commit -m "Issue \n solution" file.js
Run Code Online (Sandbox Code Playgroud)
但它显然没有用.
mna*_*gel 18
或者,只是不指定-m(而不是-F),您将看到一个编辑器,您可以在其中键入您的消息:
将更改从工作副本发送到存储库.如果使用--file(-F)或--message(-m)选项不提供提交的日志消息,则svn将启动编辑器以编写提交消息.请参阅"Config"一节中的editor-cmd列表条目.
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.commit.html
--file(-F)FILENAME
Run Code Online (Sandbox Code Playgroud)Uses the contents of the named file for the specified subcommand.不同的子命令对此内容执行不同的操作。例如,svn commit使用内容作为提交日志消息,而svn propset使用内容作为属性值。