3 ms·
Merging and rebasing both have their benefits and use cases. Just do not fall for the "squash everything into one commit and rebase" BS recently afflicting othe
by rue 17y ago
Merging and rebasing both have their benefits and use cases. Just do not fall for the "squash everything into one commit and rebase" BS recently afflicting otherwise rational people.
- docgnome 17y agoI can see squashing a bunch of commits when you make 30 junk commits just so you can push them off your box for safe keeping. Assuming that no one is gonna pull from where you pushed, or you just don't care about other people, I see no problem with that as long as the new commits are smallish discreet units. Making huge commits will hurt you when you try to git-bisect.