Skip to content

Commit

Permalink
Merge pull request #532 from cyfyifanchen/git-attribute-line-ending
Browse files Browse the repository at this point in the history
feat: updating git line ending
  • Loading branch information
plutoless authored Dec 25, 2024
2 parents 38cc800 + 7d0f493 commit 52d8a1e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# Treat all text files as text and normalize to LF in the repository
* text=auto
# Force LF for shell scripts or config files
*.sh text eol=lf
*.config text eol=lf
# Shell scripts use LF as line separator, even checked out to Windows(NTFS) file-system
*.sh text eol=lf

0 comments on commit 52d8a1e

Please sign in to comment.