gpt4 book ai didi

perforce - 从 Perforce 更改列表中删除幻像文件?

转载 作者:行者123 更新时间:2023-12-04 18:16:12 38 4
gpt4 key购买 nike

P4 一直想要提交一些磁盘上不存在的文件:
open for read: <Path to non-existent-file>: The system cannot find the path specified.
知道如何让 P4 忘记它们吗?

最佳答案

只需编辑您的更改列表并删除幻像文件。如果它们在默认更改列表中,请运行

p4 change

从命令行,它会弹出一个编辑器;从“文件:”部分中删除您不想要的文件并保存。保存后,Perforce 将创建一个新的更改列表,您可以使用它提交:
p4 submit -c <changelist number>

您还应该恢复丢失的文件,以便它们不会继续出现在您的默认更改列表中:
p4 revert <path to files>

关于perforce - 从 Perforce 更改列表中删除幻像文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11659549/

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