Skip to content

Commit a31b885

Browse files
tkirda-bisonclaude
andcommitted
docs(claude): require explicit confirmation before pushing
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c86a917 commit a31b885

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ Use [Conventional Commits](https://www.conventionalcommits.org/): `<type>(<optio
8787
- Scope, when useful, names the area touched: `build`, `test`, `deps`, `autocomplete`.
8888

8989
Examples: `test: port specs to vitest + jsdom`, `build: replace grunt with node script`, `chore(deps): bump prettier to 3.6.2`, `refactor!: rewrite source in typescript`.
90+
91+
## Pushing
92+
93+
**Never push without explicit confirmation.** Make the commit, show the diff if non-trivial, and wait for the user to say "push" (or equivalent) before `git push`. This applies to every branch including `master`, every push including tag pushes that fire the release workflow, and every working tree including this one and any auxiliary clones (e.g. GHSA private forks). Bundling commit + push in one shell invocation counts as pushing without confirmation — split them.

0 commit comments

Comments
 (0)