2

I am on android studio.

I have 2 branches: one is the animation branch and the second is develop branch. Develop branch created from the origin, and the animation branch from another branch.

I want to merge these two branches but the issue is that whenever I hit merge on android studio with the conflicted files, the server side code is just an empty fully.
I never run into such issue and I have restarted the android studio, cleared caches but nothing helping.

Can someone please explain me what is going on? Important to mention that whenever I pull the develop or animation view the code is OK.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
VA Entertaiment
  • 575
  • 2
  • 7
  • 20

1 Answers1

1
Removing app/src/main/res/values-v19/styles.xml CONFLICT (modify/delete): 
app/src/main/java/volo/global/pingbing/StartupActivity.java 
deleted in origin/develop and modified in HEAD. 
Version HEAD of app/src/main/java/volo/global/pingbing/StartupActivity.java left in tree. 
Automatic merge failed; fix conflicts and then commit the result. 

As mentioned in "How do I fix a merge conflict due to removal of a file in a branch?", you need to accept what is in the tree:

git add .
git commit -m "Accept changes from HEAD"
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250