As my project requirements changes as I develop, I often create branches to keep the change isolated from each other rather than deleting the codes or modules that are not needed at the moment but might be later on. I did not use stash since changes are quite frequent and I don't want to overwhelm my stash log that it might get out of hand in the future.
On this case I have two branches. *phase-1-final* This is my current working branch with all the updated commits. *phase-1-analytics* This is a branch from phase-1-final but has an additional pod library 'Google analytics' Now that the client decided to put the analytics back on the project I wanted to simply merge both. But I'm having troubles because the analytics pod library dont get included after the merge. Here's the log of the commands I've tried git checkout phase-1-final git merge phase-1-analytics *CONFLICT* Auto-merging Pods/Pods.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist CONFLICT (content): Merge conflict in Pods/Pods.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist git status Got logs of modified files to commit and Unmerged paths:(use "git add ..." to mark resolution) both modified: >Pods/Pods.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist I tried adding/commiting the Pods/ git add Pods/ git commit -m "Integrated Analytics." git status It gave me this: You are currently rebasing branch 'phase-1-final-merge' on '5000699'. Not really sure whats going on but I tried pushing anyway. git push -v origin phase-1-merge It was successful but when I ran the project. All files are updated except that I am missing my Google Analytics library on my pod/podfile Additional info: *.gitignore* # OS X Finder.DS_Store build/*.pbxuser!default.pbxuser*.mode1v3!default.mode1v3*.mode2v3!default.mode2v3*.perspectivev3!default.perspectivev3 xcuserdata*.xccheckout*.moved-aside DerivedData*.hmap*.ipa*.xcuserstate -- ------------------------------ Note: Privileged/Confidential information may be contained in this message and may be subject to legal privilege. Access to this e-mail by anyone other than the intended is unauthorized. If you are not the intended recipient (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver to anyone this message (or any part of its contents ) or take any action in reliance on it. In such case, you should destroy this message, and notify us immediately. If you have received this email in error, please notify us immediately by e-mail or telephone and delete the e-mail from any computer. If you or your employer does not consent to internet e-mail messages of this kind, please notify us immediately. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use. The views, opinions, conclusions and other information expressed in this electronic mail are not given or endorsed by the company unless otherwise indicated by an authorized representative independent of this message. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.