Lott, Christopher (cl778h) | 419d851 | 2019-06-05 15:51:17 -0400 | [diff] [blame] | 1 | # https://help.github.com/articles/dealing-with-line-endings/ |
| 2 | |
| 3 | # Set the default behavior, in case people don't have core.autocrlf set. |
| 4 | * text=auto |
| 5 | |
| 6 | # Explicitly declare text files you want to always be normalized |
| 7 | # and converted to native line endings on checkout. |
| 8 | *.c text diff=cpp |
| 9 | *.cpp text diff=cpp |
| 10 | *.css text |
| 11 | *.go text diff=golang |
| 12 | *.htm text diff=html |
| 13 | *.html text diff=html |
| 14 | *.java text diff=java |
| 15 | *.js text |
| 16 | *.jsp text |
| 17 | *.less text |
| 18 | *.properties text |
| 19 | *.py text diff=python |
| 20 | *.sql text |
| 21 | *.xml text |
| 22 | |
| 23 | # Denote all files that are truly binary and should not be modified. |
| 24 | *.png binary |
| 25 | *.jpg binary |