You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add Git workflow guidance to CLAUDE.md to prevent sync issues
## Problem
Pre-commit hooks were modifying files AFTER commit creation, causing
mismatches between local commit and working directory. This led to
push rejections and forced rebases.
## Solution
Added mandatory workflow to CLAUDE.md:
1. Stage changes
2. Run pre-commit checks manually BEFORE commit
3. Stage any fixes
4. Commit and push atomically
## Benefits
- Eliminates hook-related sync issues
- Prevents push rejections from formatting fixes
- Atomic commit-push reduces race condition window
- Provides clear process for future development
This should prevent the sync issues experienced in recent commits.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments