Perforce 如何在不调用编辑器的情况下从标准输入读取分支映射
Perforce how to Read the branch mapping from standard input without invoking an editor
我只想看一个 p4 branch -i 示例,这样它就可以在不调用编辑器的情况下从标准输入读取分支映射
你的意思是:
C:\Users\Bryan>type foo.br
Branch: foo
Owner: Bryan
Options: unlocked
View:
//depot/main/... //depot/bryan/...
C:\Users\Bryan>type foo.br | p4 branch -i
Branch foo saved.
我只想看一个 p4 branch -i 示例,这样它就可以在不调用编辑器的情况下从标准输入读取分支映射
你的意思是:
C:\Users\Bryan>type foo.br
Branch: foo
Owner: Bryan
Options: unlocked
View:
//depot/main/... //depot/bryan/...
C:\Users\Bryan>type foo.br | p4 branch -i
Branch foo saved.