Skip to content

Instantly share code, notes, and snippets.

@wcoastsands
Last active May 21, 2021 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wcoastsands/85eebe6a9f81ddbfc7afc2b776603b03 to your computer and use it in GitHub Desktop.
Save wcoastsands/85eebe6a9f81ddbfc7afc2b776603b03 to your computer and use it in GitHub Desktop.
.gitattributes file for Unity projects
# Auto detect text files and perform LF normalization
* text=auto
# These files are text and should be normalized (convert crlf => lf)
*.cs text eol=lf diff=csharp
*.js text eol=lf
*.xaml text
*.csproj text
*.sln text
*.tt text
*.ps1 text
*.cmd text
*.msbuild text
*.md text
# Images should be treated as binary
# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.sdf binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment