Skip to content

Instantly share code, notes, and snippets.

@socram8888
Created November 17, 2021 15:11
Show Gist options
  • Save socram8888/2a3dda7eea27781cea96f49d25ec57a5 to your computer and use it in GitHub Desktop.
Save socram8888/2a3dda7eea27781cea96f49d25ec57a5 to your computer and use it in GitHub Desktop.
Personal gitattributes
# Version: 2021.05.25.01
# Force all text files to be LF
* text=auto eol=lf
# Project source files
*.bat text eol=crlf
*.c text diff=cpp
*.conf text
*.config text
*.cmd text eol=crlf
*.cnf text
*.cs text diff=csharp
*.csproj text diff=html
*.css text
*.diff text
*.h text diff=cpp
*.html text
*.ino text diff=cpp
*.java text diff=java
*.js text
*.json text
*.md text
*.properties text
*.ps1 text
*.py text diff=python
*.scss text
*.s text
*.sql text
*.sln text
*.sh text eol=lf
*.txt text
*.xml text diff=html
*.yml text
.gitattributes text
.gitignore text
.htaccess text
Dockerfile text
# Images
*.bmp binary
*.jpg binary
*.png binary
*.svg text
# Binaries
*.act binary
*.dll binary
*.dylib binary
*.elf binary
*.exe binary
*.img binary
*.jnilib binary
*.o library
*.so binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment