.gitattributes 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. ###############################################################################
  2. # Auto detect text files and perform LF normalization
  3. ###############################################################################
  4. * text=auto
  5. ###############################################################################
  6. # Force text and use native line endings for configuration and plain text
  7. # files, for easier editing on any platform.
  8. ###############################################################################
  9. *.cs text
  10. *.cshtml text
  11. *.js text
  12. *.vue text
  13. *.json text
  14. *.css text
  15. *.md text
  16. *.config text
  17. ###############################################################################
  18. # Set default behavior for command prompt diff.
  19. ###############################################################################
  20. *.cs diff=csharp
  21. ###############################################################################
  22. # Set the merge driver for project and solution files
  23. #
  24. # Merging from the command prompt will add diff markers to the files if there
  25. # are conflicts (Merging from VS is not affected by the settings below, in VS
  26. # the diff markers are never inserted). Diff markers may cause the following
  27. # file extensions to fail to load in VS. An alternative would be to treat
  28. # these files as binary and thus will always conflict and require user
  29. # intervention with every merge. To do so, just uncomment the entries below
  30. ###############################################################################
  31. *.sln merge=binary
  32. *.csproj merge=binary