| 1 |
# Handle line endings automatically for files detected as text |
| 2 |
# and leave all files detected as binary untouched. |
| 3 |
* text=auto eol=lf |
| 4 |
|
| 5 |
# Force batch scripts to always use CRLF line endings so that if a repo is accessed |
| 6 |
# in Windows via a file share from Linux, the scripts will work. |
| 7 |
*.{cmd,[cC][mM][dD]} text eol=crlf |
| 8 |
*.{bat,[bB][aA][tT]} text eol=crlf |
| 9 |
|
| 10 |
# Force bash scripts to always use LF line endings so that if a repo is accessed |
| 11 |
# in Unix via a file share from Windows, the scripts will work. |
| 12 |
*.sh text eol=lf |