.gitattributes 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ################################################################################
  2. ### Default behavior
  3. ### - Treat as text
  4. ### - Normalize to Unix-style line endings
  5. ################################################################################
  6. * text eol=lf
  7. ################################################################################
  8. ### C# source file behavior
  9. ### - Treat as text
  10. ### - Normalize to Unix-style line endings
  11. ### - Diff as csharp
  12. ################################################################################
  13. *.cs text eol=lf diff=csharp
  14. ################################################################################
  15. ### csproj file behavior
  16. ### - Treat as text
  17. ### - Normalize to Unix-style line endings
  18. ### - Use a union merge when resolving conflicts
  19. ################################################################################
  20. .csproj text eol=lf merge=union
  21. ################################################################################
  22. ### sln file behavior
  23. ### - Treat as text
  24. ### - Normalize to Windows-style line endings
  25. ### - Use a union merge when resolving conflicts
  26. ################################################################################
  27. *.sln text eol=crlf merge=union
  28. ################################################################################
  29. ### image file behavior
  30. ### - Treat as binary
  31. ################################################################################
  32. *.bmp binary
  33. *.gif binary
  34. *.ico binary
  35. *.jpg binary
  36. *.jpeg binary
  37. *.png binary
  38. *.webp binary
  39. *.wav binary
  40. ################################################################################
  41. ### MGFXO file behavior
  42. ### - Treat as binary
  43. ################################################################################
  44. *.mgfxo binary