使用git svn编辑svn:externals [英] Edit svn:externals with git svn
问题描述
是否可以使用 git svn propset
?
我已成功使用 git svn propset
设置 svn:eol
属性。然而,对于 svn:externals
我不确定是否/如何完成,因为 svn:externals
line属性,我不确定是否/如何在命令行上显示多行属性值。
I have successfully used git svn propset
to set the svn:eol
property. However, for svn:externals
I am unsure if/how it can be done because svn:externals
is a multi-line property, and I'm not sure if/how multiple lines of the property value may be expressed on the command line.
对于 svn:外部
,如果 git svn propset
命令有一个 - 编辑
选项,这将允许在文本编辑器中编辑属性(类似于编辑提交文本或git配置)。
For svn:externals
, it would be ideal if the git svn propset
command had an --edit
option, which would allow the property to be edited in the text editor (similar to editing commit text or git config).
我使用git version 2.11.1 on Windows。
I'm using git version 2.11.1 on Windows.
推荐答案
如果您使用Git Bash,只需将引用中的参数括在 b
git svn propset svn:externals "foo
bar" baz/bam
这篇关于使用git svn编辑svn:externals的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!