DEV Community

Discussion on: Git Merge vs Git Rebase

Collapse
 
victoria profile image
Victoria Drake

For someone working alone, rebase isn't a big deal. If you're working with a team or on a public repository, I just don't see any benefit to striving for a linear history. Squash commit + merge is easy enough to read, and much safer.

A comparison I would rather make is between the git branching model and the GitHub Flow models, the former I think better for large teams, and the latter for simpler projects.

Work to suit the project, not the commit graph aesthetic. :)