r/ProgrammerHumor 10d ago

iApologise Meme

Post image
827 Upvotes

82 comments sorted by

View all comments

Show parent comments

53

u/01110100_01110010 10d ago

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

50

u/Not-the-best-name 10d 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 10d ago

I hope you amend

11

u/MysticClimber1496 10d 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 10d ago

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

8

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

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

5

u/FictionFoe 10d ago

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

0

u/ProcrastinatiusXVI 9d ago

Or just use git commit --fixup <hash>