Skip to content

Commit dbee53c

Browse files
committed
CLAUDE.md: add macOS git clean instruction for sed backup files
1 parent f632685 commit dbee53c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,5 +424,10 @@ When modifying CI workflows, especially for performance improvements:
424424
- **MANDATORY**: Run `make fix-trailing-whitespace` before every commit
425425
- **MANDATORY**: Run `make check-trailing-whitespace` to verify no trailing
426426
whitespaces remain
427+
- **macOS only**: After running `make fix-trailing-whitespace` or
428+
`make format-md`, run these commands to clean up backup files created by sed:
429+
```bash
430+
git clean -f -- '*-e' && git clean -f -- '**/*-e'
431+
```
427432
- This applies to ALL file modifications, regardless of file type
428433
- Trailing whitespaces are strictly prohibited in the codebase

0 commit comments

Comments
 (0)