.gitattributes 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. *.vcproj text eol=crlf
  30. *.filters text eol=crlf
  31. #*.dbproj merge=binary
  32. #*.fsproj merge=binary
  33. #*.lsproj merge=binary
  34. #*.wixproj merge=binary
  35. #*.modelproj merge=binary
  36. #*.sqlproj merge=binary
  37. #*.wwaproj merge=binary
  38. *.swg text eol=lf
  39. *.cmd text eol=crlf
  40. *.bat text eol=crlf
  41. *.props text eol=crlf
  42. *.sh text eol=lf
  43. *.pbxproj text eol=lf
  44. *.storyboard text eol=lf
  45. *.plist text eol=lf
  46. ###############################################################################
  47. # behavior for image files
  48. #
  49. # image files are treated as binary by default.
  50. ###############################################################################
  51. *.jpg binary
  52. *.png binary
  53. *.gif binary
  54. *.ttf binary
  55. *.lib binary
  56. ###############################################################################
  57. # diff behavior for common document formats
  58. #
  59. # Convert binary document formats to text before diffing them. This feature
  60. # is only available from the command line. Turn it on by uncommenting the
  61. # entries below.
  62. ###############################################################################
  63. #*.doc diff=astextplain
  64. #*.DOC diff=astextplain
  65. #*.docx diff=astextplain
  66. #*.DOCX diff=astextplain
  67. #*.dot diff=astextplain
  68. #*.DOT diff=astextplain
  69. #*.pdf diff=astextplain
  70. #*.PDF diff=astextplain
  71. #*.rtf diff=astextplain
  72. #*.RTF diff=astextplain