Files
Claude-Code-Workflow/.gitattributes
catlog22 bbf88826ba fix: convert all shell scripts to LF line endings for Linux/WSL compatibility
- 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>
2025-10-13 10:00:33 +08:00

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