Atomic Commit
A commit containing exactly one logical change, complete and independently sound.
An atomic commit contains one logical change: complete enough to build and pass its checks on its own, small enough that its message describes all of it. It is the unit that makes history usable rather than merely present.
Three capabilities depend on it. Revert — backing out one change without unpicking unrelated work. Bisection — finding the first bad revision requires every revision to be independently sound, so a commit that is red on its own breaks the search. Review — a reviewer reading a sequence of scoped commits can follow the reasoning; a reviewer reading one large commit reads a diff.
The practical habit is to commit as each logical unit completes rather than accumulating everything into one change at the end. A change that fixes a bug, adds a test, updates documentation, and reformats an adjacent file is four commits, and each is independently reviewable.
Two notes for shared working copies. Stage by explicit path — a bulk add captures other people's uncommitted work. And when a fix belongs to an earlier commit in a sequence, folding it in rather than appending it keeps the earlier commit sound, which is the property bisection needs.
See also5
Hand-picked in the note itself — the neighbours worth reading next.
Commit
A recorded snapshot of a project with a message explaining it.
Version Control & Delivery9 connections
Conventional Commits
A lightweight convention giving commit messages a machine-readable type and scope.
Version Control & Delivery10 connections
Code Review
A second person reading a change before it lands, and the practices that make it worth the time.
Version Control & Delivery15 connections
Regression
A previously working behaviour that a change has broken.
Method16 connections
Squash Merge
Collapsing a branch's commits into one before merging, trading granularity for a clean main history.
Version Control & Delivery10 connections
Related4
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from6
Notes elsewhere in the wiki that reach for this one.
- Code ReviewVersion Control & Delivery
A second person reading a change before it lands, and the practices that make it worth the time.
- CommitVersion Control & Delivery
A recorded snapshot of a project with a message explaining it.
- Conventional CommitsVersion Control & Delivery
A lightweight convention giving commit messages a machine-readable type and scope.
- ProvenanceMethod
The recorded origin of a change or a claim — who made it, when, and on what evidence.
- RegressionMethod
A previously working behaviour that a change has broken.
- Squash MergeVersion Control & Delivery
Collapsing a branch's commits into one before merging, trading granularity for a clean main history.