2 ms·
The modern workflow is just to let GitHub squeeze yor shit commits into one and then rebasing that.
by mkesper 1y ago
The modern workflow is just to let GitHub squeeze yor shit commits into one and then rebasing that.
- baq 1y agoHardly anything modern about it, but it's a way of keeping a somewhat sane history. Certainly better than merging 'fix' 'fix' 'fix comments' into master. The thing is, we could have done better (and have been) since before git even existed.
- cmrdporcupine 1y agoThere are legit reasons to have a series of commits within one PR, and rebase and merge them as is, and use amend/fixup and force pushes to maintain them cleanly. It's not my favourite process, but...
- vvillena 1y agoThe "squash everything" mantra turns git commit history into a series of snapshots devoid of any logical notion about how code evolves. Squashed commits are strictly worse than plain, non-fast-forwarded merges from rebased branches.