I have a PR in a GitHub repository (some one else his PR), which cannot be merged because of conflicts.
What can I do to fix those conflicts by myself?
I tried the following:
- Create new branch from PR
- Checkout, pull and merge master
- Fix the conflicts manually. Lot of work.
- Test it locally, it works. :)
- Stage all the files
git add .
- Commit and push
- Create a new PR
- And then still the message "This branch has conflicts that must be resolved".
What I'm doing wrong? Locally everything works and git status
reports:
On branch branch2 Your branch is up-to-date with 'origin/branchX'.
nothing to commit, working directory clean
PS: If I redo "merge master", all the conflicts are back. Don't get this.