| 1 |
# Default behavior: if Git thinks a file is text (as opposed to binary), it |
| 2 |
# will normalize line endings to LF in the repository, but convert to your |
| 3 |
# platform's native line endings on checkout (e.g., CRLF for Windows). |
| 4 |
* text=auto |
| 5 |
|
| 6 |
# Explicitly declare text files you want to always be normalized and converted |
| 7 |
# to native line endings on checkout. E.g., |
| 8 |
#*.c text |
| 9 |
|
| 10 |
# Declare files that will always have CRLF line endings on checkout. E.g., |
| 11 |
#*.sln text eol=crlf |
| 12 |
|
| 13 |
# Declare files that will always have LF line endings on checkout. E.g., |
| 14 |
*.sh text eol=lf |
| 15 |
*.json text eol=lf |
| 16 |
|
| 17 |
# Denote all files that should not have line endings normalized, should not be |
| 18 |
# merged, and should not show in a textual diff. |
| 19 |
*.docm binary |
| 20 |
*.docx binary |
| 21 |
*.ico binary |
| 22 |
*.lib binary |
| 23 |
*.png binary |
| 24 |
*.pptx binary |
| 25 |
*.snk binary |
| 26 |
*.vsdx binary |
| 27 |
*.xps binary |