Skip to main content
 首页 » 编程设计

linux之svn状态显示 “A+C”冲突如何解决

2023年11月22日132davidwang456

A  +  C application/testbed/filtered.log 
>   local edit, incoming delete upon update 
M       classes/testmineExport.class.php 

我正在尝试更新 filtered.log 文件,当时我遇到了那个错误。

请您参考如下方法:

错误消息(据我所知)表明您已安排添加 filtered.log,但与此同时,有人已将其从存储库中删除。由于您真的不想要该文件,我认为您应该能够通过这种方式解决冲突:

svn revert application/testbed/filtered.log 
svn update application/testbed/filtered.log 

一般来说,您通常希望日志文件不受版本控制:

svn propset svn:ignore "*.log" application/testbed