用 Xcode 合并两个分支
Merging two branches with Xcode
我正在尝试合并两个分支以聚集在 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.
我不知道该做什么。感谢您的帮助
通常的建议是回退到 CLI(命令行),然后执行 git status
从那里,您可以解决提到的任何冲突 (like here),git add
,如果合并确实在进行中,git commit
完成它。
我正在尝试合并两个分支以聚集在 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.
我不知道该做什么。感谢您的帮助
通常的建议是回退到 CLI(命令行),然后执行 git status
从那里,您可以解决提到的任何冲突 (like here),git add
,如果合并确实在进行中,git commit
完成它。