Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode merge branch,remind tree conflict when add some new file

Tags:

git

xcode

ios

I create a branch2 and add some new class file,when i merge into master branch,Xcode reminds us:"The files ViewModel.h,ViewModel.m had a tree conflict"
If I just edit some code but not add new file,it will be ok,but how should i solve this problem?

like image 631
Leo Avatar asked Apr 06 '16 10:04

Leo


1 Answers

Change to your master branch, and then use the option "Merge from branch", and select your branch2.

like image 199
Walucas Avatar answered Oct 23 '22 10:10

Walucas