This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in case branchA is not our current branch | |
git checkout branchA | |
# make merge commit but without conflicts!! | |
# the contents of 'ours' will be discarded later | |
git merge -s ours branchB | |
# make temporary branch to merged commit | |
git branch branchTEMP |