.gitattributes 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ###############################################################################
  2. # Set default behavior to automatically normalize line endings.
  3. ###############################################################################
  4. * text=auto
  5. *.md text
  6. *.txt text
  7. ###############################################################################
  8. # Set default behavior for command prompt diff.
  9. #
  10. # This is need for earlier builds of msysgit that does not have it on by
  11. # default for csharp files.
  12. # Note: This is only used by command line
  13. ###############################################################################
  14. #*.cs diff=csharp
  15. ###############################################################################
  16. # Set the merge driver for project and solution files
  17. #
  18. # Merging from the command prompt will add diff markers to the files if there
  19. # are conflicts (Merging from VS is not affected by the settings below, in VS
  20. # the diff markers are never inserted). Diff markers may cause the following
  21. # file extensions to fail to load in VS. An alternative would be to treat
  22. # these files as binary and thus will always conflict and require user
  23. # intervention with every merge. To do so, just uncomment the entries below
  24. ###############################################################################
  25. *.sln text eol=crlf
  26. *.csproj text eol=crlf
  27. #*.vbproj merge=binary
  28. *.vcxproj text eol=crlf
  29. *.vcxproj.filters text eol=crlf
  30. *.vcproj text eol=crlf
  31. *.filters text eol=crlf
  32. #*.dbproj merge=binary
  33. #*.fsproj merge=binary
  34. #*.lsproj merge=binary
  35. #*.wixproj merge=binary
  36. #*.modelproj merge=binary
  37. #*.sqlproj merge=binary
  38. #*.wwaproj merge=binary
  39. *.swg text eol=lf
  40. *.cmd text eol=crlf
  41. *.bat text eol=crlf
  42. *.props text eol=crlf
  43. *.sh text eol=lf
  44. *.pbxproj text eol=lf
  45. *.storyboard text eol=lf
  46. *.plist text eol=lf
  47. ###############################################################################
  48. # behavior for image files
  49. #
  50. # image files are treated as binary by default.
  51. ###############################################################################
  52. *.jpg binary
  53. *.png binary
  54. *.gif binary
  55. *.ttf binary
  56. *.lib binary
  57. ###############################################################################
  58. # diff behavior for common document formats
  59. #
  60. # Convert binary document formats to text before diffing them. This feature
  61. # is only available from the command line. Turn it on by uncommenting the
  62. # entries below.
  63. ###############################################################################
  64. #*.doc diff=astextplain
  65. #*.DOC diff=astextplain
  66. #*.docx diff=astextplain
  67. #*.DOCX diff=astextplain
  68. #*.dot diff=astextplain
  69. #*.DOT diff=astextplain
  70. #*.pdf diff=astextplain
  71. #*.PDF diff=astextplain
  72. #*.rtf diff=astextplain
  73. #*.RTF diff=astextplain