DEV Community

loading...

Discussion on: Git Rebase Explained Simply

Collapse
jacobherrington profile image
Jacob Herrington (he/him) Author

For one thing, merging creates a merge commit which can clutter the git history. I don't feel as strongly about that as a lot of people do, but it's the most common argument for rebasing over merging.

Personally, I prefer rebasing because of the -i flag which allows you to re-order commits, reword their messages, squash, and manipulate commits in a bunch of cool ways!