.gitattributes 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. # When text is set to "auto", the path is marked for automatic end-of-line normalization.
  2. # If git decides that the content is text, its line endings are normalized to LF on checkin.
  3. # Set in case people don't have core.autocrlf set.
  4. * text=auto
  5. *.sh text eol=lf
  6. *.java text eol=lf
  7. *.cs text eol=lf
  8. *.ts text eol=lf
  9. *.js text eol=lf
  10. *.cpp text eol=lf
  11. *.h text eol=lf
  12. *.c text eol=lf
  13. *.dart text eol=lf
  14. *.hx text eol=lf
  15. *.swift text eol=lf
  16. # Unity specific
  17. *.mat merge=unityyamlmerge text eol=lf
  18. *.anim merge=unityyamlmerge text eol=lf
  19. *.unity merge=unityyamlmerge text eol=lf
  20. *.prefab merge=unityyamlmerge text eol=lf
  21. *.physicsMaterial2D merge=unityyamlmerge text eol=lf
  22. *.physicsMaterial merge=unityyamlmerge text eol=lf
  23. *.asset merge=unityyamlmerge text eol=lf
  24. *.meta merge=unityyamlmerge text eol=lf
  25. *.controller merge=unityyamlmerge text eol=lf
  26. # Prevent mixed line ending warnings created by Unity's code auto-updater
  27. *.cginc text eol=lf
  28. *.shader text eol=lf