Skip to content

Instantly share code, notes, and snippets.

@linojon
Created June 13, 2020 16:45
Show Gist options
  • Save linojon/1b7736ba75d5342085f9238c04195bf1 to your computer and use it in GitHub Desktop.
Save linojon/1b7736ba75d5342085f9238c04195bf1 to your computer and use it in GitHub Desktop.
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
# ------------------------
# LFS
#-------------------------
# libraries and packages
*.a filter=lfs -crlf
*.apk filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs -crlf
*.dylib filter=lfs diff=lfs merge=lfs -text
*.exe filter=lfs -crlf
*.rar filter=lfs diff=lfs merge=lfs -text
*.unitypackage filter=lfs -crlf
*.zip filter=lfs -crlf
# models and playables
*.blend filter=lfs -crlf
*.wav filter=lfs diff=lfs merge=lfs -text
# images
*.cubemap filter=lfs -crlf
*.exr filter=lfs -crlf
*.fbx filter=lfs -crlf
*.hdr filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs -crlf
*.mp3 filter=lfs -crlf
*.mp4 filter=lfs -crlf
*.png filter=lfs -crlf
*.psd filter=lfs -crlf
*.tga filter=lfs -crlf
*.tif filter=lfs -crlf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment