Skip to content

Commit

Permalink
Update branching model example
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Eltink <[email protected]>
  • Loading branch information
geerteltink committed Aug 4, 2020
1 parent e52ca06 commit a07e53d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ The fix for that bug should be done based on the branch `1.0.x` and, once merged
1. Create a branch from the fixed `1.1.x` (`git checkout 1.1.x && git checkout -b merge-up/1.1.x-into-1.2.x`)
1. Create a PR using `1.2.x` as destination

:warning: when the merge-up can't be merged due to conflicts, we'd need to sync it with the destination branch.
:warning: when the merge-up can't be merged due to conflicts, it needs to be synced with the destination branch.
That's done by merging the destination into the merge-up branch and resolving the conflicts locally:

1. Checkout to merge-up branch (`git checkout -b merge-up/1.1.x-into-master`)
1. Sync merge-up branch (`git merge --no-ff origin/master`)
1. Checkout to merge-up branch (`git checkout -b merge-up/1.1.x-into-1.2.x`)
1. Sync merge-up branch (`git merge --no-ff origin/1.2.x`)
1. Solve conflicts (using `git mergetool` or through an IDE)
1. Resume merge (`git merge --continue`)
1. Push (`git push`)

0 comments on commit a07e53d

Please sign in to comment.