logoalt Hacker News

mr_mitmyesterday at 11:14 AM2 repliesview on HN

You can always force-push a cleaned up version of your branch when you are ready for review, or start a new one and delete the WIP one.


Replies

croemeryesterday at 12:22 PM

You can, but instead you can also just squash merge in one click. And avoid that people merge there dozens of fixes if you allow anything but squash merge.

theshrike79yesterday at 11:46 AM

I hate (and fear) force-pushing and "cleaning up" git history as much as other people dislike squash-merging =)

It just feels wrong to force push, destroying stuff that used to be there.

And I don't have the time or energy to bisect through my shitty PR commits and combine them into something clean looking - I can just squash instead.

show 1 reply