A practical workflow for making atomic commits easier. The approach separates changes by their effects: immutable changes (refactors that don't alter behavior) go in one commit, while mutable changes are grouped by logical context so each commit stands alone. The post recommends the commit-patch tool and shows how to integrate it with Emacs, allowing you to selectively stage, split, or edit diff hunks before committing with C-c C-c, and amend commits with C-c C-C.

3m read timeFrom birkey.co
Post cover image

Sort: