blob: 12901c9e103476079c2ff43391e3c856a9fb2cb1 [file] [log] [blame]
E. Scott Daniels1fde8a52020-07-07 13:18:21 -04001# 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*.h text diff=cpp
9*.hpp text diff=cpp
10*.c text diff=cpp
11*.cpp text diff=cpp
12*.css text
13*.go text diff=golang
14*.htm text diff=html
15*.html text diff=html
16*.java text diff=java
17*.js text
18*.jsp text
19*.less text
20*.properties text
21*.py text diff=python
22*.sql text
23*.xml text
24
25# Denote all files that are truly binary and should not be modified.
26*.png binary
27*.jpg binary