Skip to content

Commit 37be462

Browse files
added gitattributes to kinda enforce line endings
1 parent 9132182 commit 37be462

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: .gitattributes

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Language aware diff headers
5+
# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
6+
# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
7+
*.css diff=css
8+
*.html diff=html
9+
*.py diff=python
10+
*.md diff=markdown
11+
12+
13+
# Declare files that will always have CRLF line endings on checkout.
14+
*.sln text eol=crlf
15+
16+
# Denote all files that are truly binary and should not be modified.
17+
*.png binary
18+
*.jpg binary

0 commit comments

Comments
 (0)