更多说明
该GITATTRIBUTES文件,可以执行多种功能,如指挥的Git应该如何检查,然后再将其非文本文件或具有Git的内容过滤差异(索引和一棵树,两棵树之间变化等之间的显示变化)或出Git.A有益的属性,将让Git来治疗特定文件扩展名的二进制数据:*扩展-crlf -diff或*。扩展名binaryHere是GITATTRIBUTES文件的例子:#自动检测文本文件并执行LF适用于Visual Studio *的.cs DIFF = CSHARP *的.sln合并=工会规范化*文字=自动#定制* .csproj的合并=工会* .vbproj合并=工会* .fsproj合并=工会* .dbproj合并=工会#标准来msysgit * .DOCX DIFF = astextplain * .DOCX DIFF = astextplain * .DOT DIFF = astextplain * .DOT DIFF = astextplain的* .pdf的diff = astextplain * .PDFDIFF = astextplain * .RTF DIFF = astextplain * .RTF DIFF = astextplain