Skip to content

Commit

Permalink
Create .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorPilley committed Dec 24, 2020
1 parent 1f17bf1 commit 3024658
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set default behavior to automatically normalize line endings.
* text=auto

*.txt diff=astextplain

# Force bash scripts to always use lf line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# Likewise, force cmd and batch scripts to always use crlf
*.cmd text eol=crlf
*.bat text eol=crlf

*.cs text=auto diff=
*.resx text=auto

*.csproj text=auto
*.sln text=auto eol=crlf

0 comments on commit 3024658

Please sign in to comment.