Always Push After Committing

Rule

After committing, push. Local-only commits are invisible to CI, invisible to reviewers, and invisible to other concurrent sessions — they may as well not exist. Completion claims require pushed evidence, not local-only commits.

Why

A commit that exists only locally is in a state that looks done to the author but is not done from anyone else’s perspective. CI hasn’t run; the DCO bot hasn’t checked sign-off; reviewers can’t see the diff; other concurrent agents can’t depend on the change. The window between local commit and push is the window where work can silently vanish — a corrupted disk, a deleted worktree, a forgotten branch. Push closes that window.

Applies To

In-platform coworkers, external coding agents, and humans running git locally. Symmetric. Applies after every commit. Does NOT apply when the user has explicitly asked for local-only work — but that’s the exception, not the default.

How To Apply

After git commit, run git push (or git push -u origin <branch> for the first push of a new branch). Configure shell aliases or git hooks to make the push the default tail of every commit if local discipline keeps slipping. When claiming work is complete, verify git status shows zero unpushed commits before the claim.

Decision Dimensions

Examples

Sources

(Rendered from the sources: frontmatter by WikiSourceCitations.)