Write broken commits for better review(huonw.github.io)
huonw.github.io
Write broken commits for better review
https://huonw.github.io/blog/2026/04/broken-commits/
2 comments
Broken commits are useful as proof you already tried something that didn't work.
My recommendation is to keep the commit separated, but go and rewrite the history of the branch to get all intermediate commits compiling. It's painful, but it help the reviewer checking what happened.