gpt4 book ai didi

perforce - 如何重命名perforce depot中的文件

转载 作者:行者123 更新时间:2023-12-01 22:51:54 26 4
gpt4 key购买 nike

在没有任何冲突的情况下重命名 depot 中的文件的过程是什么?

p4 或命令行有什么办法吗?

最佳答案

是的,但方法取决于您运行的 Perforce 版本。这是从命令行执行此操作的方法(这是从“p4 help rename”的输出中复制的)。

In release 2009.1 and higher, you can use 'p4 move' to move or
rename files. Perforce clients prior to release 2009.1 do not
support 'p4 move'. However, files in older clients can be
renamed by branching one file to another and deleting the
original file. For example:

p4 integrate fromFile toFile
p4 delete fromFile
p4 submit

For further information, see the help for the individual commands.

Note: Files renamed in this way are treated as branched files
rather than moved files in subsequent operations.

关于perforce - 如何重命名perforce depot中的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13298868/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com