【问题标题】:Merging two branches with Xcode用 Xcode 合并两个分支
【发布时间】:2016-07-13 01:29:07
【问题描述】:

我正在尝试合并两个分支以在 Xcode 中收集,但似乎无法做到。 我采取的步骤如下。 SourceControl > 从分支合并 > 选择我想从中获取新代码的分支 > 然后点击合并。

什么弹出窗口是这样的警告:

The operation could not be performed because of one or more tree conflicts.
The files MyClient.xcscheme, xcschememanagement.plist, UserInterfaceState.xcuserstate, Pods-MyClient.xcscheme, SwiftyJSON.xcscheme, and xcschememanagement.plist had a tree conflict.

我不知道在这里做什么。感谢您的帮助

【问题讨论】:

    标签: xcode git git-branch git-merge


    【解决方案1】:

    通常的建议是退回到 CLI(命令行),然后执行 git status

    从那里,您可以解决提到的任何冲突 (like here)、git add,如果确实正在进行合并,请git commit 完成它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-18
      • 2014-02-01
      • 2014-09-24
      • 1970-01-01
      • 2012-03-05
      相关资源
      最近更新 更多