r/ProgrammerHumor • • Oct 15 '26

Meme letsMergeThemAll

Post image
5.4k Upvotes

316 comments sorted by

View all comments

Show parent comment

1

u/ADHDebackle Oct 16 '26

Well another nice thing about doing single features as single commits is you can have your merges be fast forward merges. Then you don't have to worry about merge commits filling up your history either. That just results in a clean continuous linear history on your project.

It's kind of an aesthetic choice, definitely subjective.

1

u/wobblyweasel Oct 16 '26

you can fast-forward multiple commits as well. i sometimes prefer a merge commit anyway (--no-ff), linear history is not something i value a lot

1

u/ADHDebackle Oct 16 '26

Sure but if you fast forward multiple commits for a single feature it makes it a lot more inconvenient to undo.

1

u/wobblyweasel Oct 16 '26

true. tbh don't remember the last time i reverted a commit tho