News for hackers. Stuff that matters.
Re:Why large companies and fast-moving startups are banning ... by easton on Friday December 29, 2023 @03:31PM (#38809849)
GitHub and Azure DevOps also do that, you just need to know where to look.

I don’t mind squashing either, unless I’m being really intentional or rewriting my history my intermediate commits couldn’t be reverted without leaving stuff broken (totally a me problem of course).

Re:Why large companies and fast-moving startups are banning ... by hamburglar on Friday December 29, 2023 @04:00PM (#38810125)
Intermediate commits being snapshots of “broken” state isn’t a problem at all. When I quit for the day, I commit, broken or not, and pick it up in the morning. I want to be able to drop my laptop in a puddle and still pick up where I left off when I get a new one.
Re:Why large companies and fast-moving startups are banning ... by iimblack on Friday December 29, 2023 @10:28PM (#38812603)
I think the problem is putting those broken commits into the trunk. Ideally you want to clean up your commits so if you need to revert you don’t accidentally break your build and so reading thru history isn’t awful.
Re:Why large companies and fast-moving startups are banning ... by hamburglar on Thursday January 04, 2024 @09:32PM (#38875027)
Nobody anywhere suggested putting broken commits in trunk. This is why branches exist.