Skip to content

Commit

Permalink
normalize line endings
Browse files Browse the repository at this point in the history
_This change is similar to Incendo/cloud#786
  • Loading branch information
Djaytan committed Jan 17, 2025
1 parent b05e09c commit 9d36663
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
# Documentation: https://www.git-scm.com/docs/gitattributes

# Set default behavior to automatically normalize line endings.
* text=auto eol=lf

# Enforce CRLF line endings in Windows batch scripts to avoid issues.
*.cmd text eol=crlf
*.bat text eol=crlf

0 comments on commit 9d36663

Please sign in to comment.