So, lets say I have development branch, and opened a PR for my feature branch into development.
I have a conflict in say, 1 file (or 10, whatever) - bitbucket says what I need to do:
git checkout development
git pull origin feature
...Do merge conflict resolution here...
git commit
git push origin HEAD
Not always I want to do it in command line, especially for major conflicts I prefer IDEA's diff GUI.
I have tried two different ways:
- Checkout development, then via menu: VCS->Git->Merge Changes->check the feature branch, check squash commit -> resolve conflicts. The results? a huge local changelog that would create a new direct commit on development with the feature branch contents, instead of just the conflict fix to commit.
- Through the branches menu on the bottom right -> choose feature branch -> Merge into current (development), resolving conflicts - and nothing shows on changelist! nothing to commit and push...
As I explained, none reproduce the steps for command line conflict resolution as bit bucket explains.
So how to do this correctly in IDEA?