git - 如何处理上游删除的文件中的git冲突
问题描述
我们有一个development
分支和一个release
分支。我们不得不在发布中修复一个特性,随后在开发过程中删除了该文件,并且该特性被有效地删除(即我们不再关心这个修复程序了)。
现在,当我们将开发合并到发布时,我们会收到以下错误:
Removing app/views/ad_sources/subforms/_ad_source_reporting_field.html.erbRemoving app/views/a
29-Aug-2018 23:35:14 CONFLICT (modify/delete): app/views/ad_sources/subforms/_ad_source_attribute_field.html.erb deleted in development and modified in HEAD. Version HEAD of app/views/ad_sources/subforms/_ad_source_attribute_field.html.erb left in tree.
解决此问题的最佳方法是什么?也许只是在开发分支中重新创建一个空文件?
解决方案
推荐阅读
- php - 如何在 CodeIgniter 中使用单个帐户仅限制 3 次登录?
- c# - 在 DataTemplate 中查找视图模型 DataContext
- php - Laravel 多语言路由前缀
- java - EasyMock/PowerMock - 模拟静态方法抛出错误:没有可用的模拟的最后一次调用
- java - 无法运行创建的 -jar 文件
- java - 是否可以在 Fitnesse 服务器 VM 中运行 Slim 客户端
- python - PIP 安装 pysftp:连接超时
- r - 如果单击 visNetwork 提示中的取消,操作选项会消失
- python - 将布局定位到主布局python Autodesk Maya的底部
- powershell - 在第二个`/`之后存储所有内容