DEV Community

Discussion on: What to do when rebase goes wrong?

Collapse
 
jingxue profile image
Jing Xue

Why not just do git merge master from the feature branch? You would end up doing the same amount of merging, if there are any conflicts, as patch --merge, but you'd be doing it with git merge's much more powerful merging capabilities (various merging strategies, options, git mergetool, etc.). And you'd have preserved all the history.

Collapse
 
joaomarcusc profile image
João

Good point! I updated the blog post with some reasons why one would not want to use git merge