# Ensure text mode for unity scripts & shaders, c-sharp diffing *.cs diff=csharp text *.cginc text *.shader text # These files are text and should be normalized (convert crlf to lf) *.rb text *.test text *.c text *.cpp text *.h text *.txt text *.yml text *.s79 text *.bat text *.xcl text *.inc text *.info text *.md text makefile text rakefile text #These files are binary and should not be normalized *.doc binary *.odt binary *.pdf binary *.ewd binary *.eww binary *.dni binary *.wsdt binary *.dbgdt binary *.mac binary # Use YAML Merge for Unity assets (more info: https://github.com/anacat/unity-mergetool) *.mat merge=unityyamlmerge eol=lf *.anim merge=unityyamlmerge eol=lf *.unity merge=unityyamlmerge eol=lf *.prefab merge=unityyamlmerge eol=lf *.physicsMaterial2D merge=unityyamlmerge eol=lf *.physicsMaterial merge=unityyamlmerge eol=lf *.meta merge=unityyamlmerge eol=lf *.controller merge=unityyamlmerge eol=lf *.asset merge=unityyamlmerge text=auto # Collapse Unity-generated files on GitHub (more info: https://robots.thoughtbot.com/github-diff-supression) #*.asset linguist-generated #*.mat linguist-generated #*.meta linguist-generated #*.prefab linguist-generated #*.unity linguist-generated