Mike Weiblen | d8daf17 | 2018-07-04 15:23:41 -0600 | [diff] [blame] | 1 | # See https://git-scm.com/docs/gitattributes |
2 | # See https://help.github.com/articles/dealing-with-line-endings/ | ||||
3 | |||||
4 | # Default behavior, if core.autocrlf is unset. | ||||
5 | * text=auto | ||||
6 | |||||
7 | # Files to be converted to native line endings on checkout. | ||||
8 | *.cpp text | ||||
9 | *.h text | ||||
10 | |||||
11 | # Text files to always have CRLF (dos) line endings on checkout. | ||||
12 | *.bat text eol=crlf | ||||
13 | |||||
14 | # Text files to always have LF (unix) line endings on checkout. | ||||
15 | *.sh text eol=lf | ||||
16 |