Skip to content

Commit

Permalink
Update .gitattributes to specify line endings - Fix #3862
Browse files Browse the repository at this point in the history
- Set default to LF line endings for all text files
- Define CRLF line endings for .bat and .ps1 files
  • Loading branch information
pepone committed Dec 12, 2023
1 parent 7f6143e commit aaa8807
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
* text=auto
# Ensure LF line endings for all text files
* text=auto eol=lf

# Use CRLF line endings for specific file types
*.bat text eol=crlf
*.ps1 text eol=crlf

0 comments on commit aaa8807

Please sign in to comment.