mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Convert all .sh files from CRLF to LF line endings - Add .gitattributes to enforce LF for shell scripts - Fix "bash\r: No such file or directory" error in WSL environments This resolves the installation failure on WSL/Linux systems where Windows CRLF line endings cause shell scripts to fail. Related to #1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
554 B
Plaintext
33 lines
554 B
Plaintext
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Shell scripts must use LF line endings (Unix style)
|
|
*.sh text eol=lf
|
|
|
|
# Batch/PowerShell scripts can use CRLF (Windows style)
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
|
|
# Python scripts should use LF
|
|
*.py text eol=lf
|
|
|
|
# Common text files
|
|
*.md text
|
|
*.txt text
|
|
*.json text
|
|
*.yaml text
|
|
*.yml text
|
|
*.toml text
|
|
|
|
# Binary files (no line ending conversion)
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.zip binary
|
|
*.tar binary
|
|
*.gz binary
|
|
*.pdf binary
|