feat(docs): add guidelines for Git operations to ensure parallel task safety

This commit is contained in:
catlog22
2025-12-30 19:56:31 +08:00
parent 4d73a3c9a9
commit e5797bff8f

View File

@@ -46,6 +46,12 @@
- Maintain established patterns
- Test integration between subtasks
**Git Operations** (Parallel Task Safety):
- Only stage/commit files directly produced by current task
- Never touch unrelated changes or other task outputs
- Use `git add <specific-files>` instead of `git add .`
- Verify staged files before commit to avoid cross-task conflicts
## System Optimization