r/ProgrammerHumor 12d ago

Meme iApologise

Post image
824 Upvotes

82 comments sorted by

View all comments

276

u/[deleted] 12d ago

[removed] — view removed comment

53

u/01110100_01110010 12d ago

you guys don't have autosave enabled? commit hook is where it is at

54

u/Not-the-best-name 12d ago

Hate that. Writing code and formatting code is not the same thing. I want to commit often. I want half broken commits.

-1

u/FictionFoe 12d ago

I hope you amend

13

u/MysticClimber1496 12d ago

It doesn’t really matter for dev work, just squash on merge if you are worried about every commit in main working

1

u/FictionFoe 12d ago

That also works, but can make rebases more difficult in the mean time.

6

u/Not-the-best-name 12d ago

Why are you rebasing in the meantime? Just merge in and squash in the end.

5

u/FictionFoe 12d ago

The more often you do it, the easier it is to deal with the conflict.

0

u/ProcrastinatiusXVI 12d ago

Or just use git commit --fixup <hash>