News for hackers. Stuff that matters.
Re:Fortunately, I don't squash my commits by swalsh on Monday October 05, 2020 @08:21AM (#24687037)
Fore removing code that's buggy in production. It's way easier to find and remove 1 commit.
Re:Fortunately, I don't squash my commits by falcolas on Monday October 05, 2020 @08:45AM (#24687225)
Isn’t that what rolling back releases for? i.e. revert the container (or whatever your unit of release is) to the previous version? If you’re removing individual commits and re-releasing (rolling forward), you’re still at risk of being down, because you’re not going back to a known good release.
Re:Fortunately, I don't squash my commits by m12k on Monday October 05, 2020 @08:24AM (#24687062)
And what do you think about the linked article that shows how it's easier to find exactly which code is buggy if you have it in small commits instead of one big squashed one?
Re:Fortunately, I don't squash my commits by swalsh on Monday October 05, 2020 @08:30AM (#24687099)
Good, do what he did too... but in a feature branch.