News for hackers. Stuff that matters.
Re:Two Years of Squash Merge (2019) by rubyist5eva on Friday April 30, 2021 @04:19PM (#26998756)
How is it unwieldy? They don't even show up locally when you `git branch` unless you've checked them out. Otherwise they just sit there doing nothing, there is literally no maintenance required on them once they've been squashed into mainline. Most central repositories end up having hundreds (or even thousands) of "finished" branches that nobody ever looks at anyway.
Re:Two Years of Squash Merge (2019) by waffletower on Friday April 30, 2021 @04:26PM (#26998841)
Depends on configuration if you wind up having that many. I use `git branch -v` often to figure out what branch a colleague is working on. I guess I could apply my same logic and use filtering tools here as well. But I don't see the benefit of squashing the merge commits when git CLI, github etc. can give you the same view without the gratuitous data loss.
Re:Two Years of Squash Merge (2019) by beberlei on Saturday May 01, 2021 @07:52AM (#27005512)
They show Github in their screenshots, and on Github you can delete a branch and the original commit history in the UI is still kept and available. So you don't have the branches locally, but Github still has them around.