Skip to content

Instantly share code, notes, and snippets.

@scivision
Last active September 25, 2021 14:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scivision/90c5f24556d893a0d0b157c479bf7250 to your computer and use it in GitHub Desktop.
Save scivision/90c5f24556d893a0d0b157c479bf7250 to your computer and use it in GitHub Desktop.
End CRLF line ending hell for Windows + Cygwin or WSL and any other OS https://www.scivision.dev/git-line-endings-windows-cygwin-wsl/
.gitattributes text eol=lf
.gitignore text eol=lf
*.build text eol=lf
*.c text eol=lf
*.cmake text eol=lf
*.cpp text eol=lf
*.csv text eol=lf
*.f text eol=lf
*.f90 text eol=lf
*.for text eol=lf
*.grc text eol=lf
*.h text eol=lf
*.ipynb text eol=lf
*.m text eol=lf
*.md text eol=lf
*.pas text eol=lf
*.py text eol=lf
*.rst text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.yml text eol=lf
Makefile text eol=lf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment