File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,18 @@ Parsing and constructing package URLs, compiled to CommonJS for deployment.
164164 - ** Important** : Even when using ` --no-verify ` , you MUST still run ` pnpm fix ` and ` pnpm check ` manually first
165165 - ** Rationale** : Pre-commit hooks run linting and type-checking which are critical for library code but less critical for non-published files
166166
167+ ### Batch Commits Strategy
168+ - ** When making many changes** : Break large changesets into small, logical commits
169+ - ** First commit with tests** : Run full test suite (hooks) for the first commit only
170+ - ** Subsequent commits with --no-verify** : Use ` --no-verify ` for follow-up commits
171+ - ** Example workflow** :
172+ 1 . Make all changes and ensure ` pnpm fix && pnpm check ` passes
173+ 2 . Stage and commit core changes with hooks: ` git commit -m "message" `
174+ 3 . Stage and commit related changes: ` git commit --no-verify -m "message" `
175+ 4 . Stage and commit cleanup: ` git commit --no-verify -m "message" `
176+ 5 . Stage and commit docs: ` git commit --no-verify -m "message" `
177+ - ** Rationale** : Reduces commit time while maintaining code quality through initial validation
178+
167179## 🔍 DEBUGGING
168180
169181### Performance Testing
You can’t perform that action at this time.
0 commit comments