.gitattributes
raw| 1 | # Set default behaviour to automatically normalize line endings. |
| 2 | * text=auto |
| 3 | |
| 4 | # Force batch scripts to always use CRLF line endings so that if a repo is |
| 5 | # accessed in Windows via a file share from Linux, the scripts will work. |
| 6 | *.{cmd,[cC][mM][dD]} text eol=crlf |
| 7 | *.{bat,[bB][aA][tT]} text eol=crlf |
| 8 | |
| 9 | # Force bash scripts to always use LF line endings so that if a repo is |
| 10 | # accessed in Unix via a file share from Windows, the scripts will work. |
| 11 | *.sh text eol=lf |