News for hackers. Stuff that matters.
Re:Pre-commit hooks are fundamentally broken by andrewaylett on Monday December 29, 2025 @03:02PM (#46424869)
Strong disagree: until the branch is merged, it's mine.

I'm in a camp that prefers single rebased commits as units of change, "stacked diffs" style.

GitHub in particular was annoying with this style but is definitely getting better. It's still not great at dealing with actual stacks of diffs, but I can (and do) work around that by keeping the stack locally and only pushing commits that apply directly to the main branch.

There are no comments on this comment yet.