diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..1d72617d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,35 @@ +# All files: detect if file is text automatically + +* text=auto + +# Text files that should be normalized to LF + +*.cs text diff=csharp +*.config text +*.sln text +*.csproj text +*.md text +*.sh text +*.ps1 text +*.cmd text +*.bat text +*.markdown text +*.msbuild text + +# Binary files that should not be normalized or diffed + +*.exe binary +*.dll binary +*.pdb binary +*.pfx binary +*.snk binary + +*.png binary +*.gif binary +*.jpg binary +*.bmp binary +*.ico binary + +*.chm binary +*.7z binary +*.zip binary