File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ##############################################################################
2+ # Set default behavior to automatically normalize line endings.
3+ # ##############################################################################
4+ * text =auto
5+
6+ # ##############################################################################
7+ # behavior for image files
8+ # image files are treated as binary by default.
9+ # ##############################################################################
10+ * .jpg binary
11+ * .png binary
12+ * .gif binary
13+ * .bmp binary
14+ * .ico binary
15+ * .jpeg binary
16+ * .jfif binary
17+
18+ # ##############################################################################
19+ # diff behavior for common document formats
20+ # Convert binary document formats to text before diffing them.
21+ # ##############################################################################
22+ * .doc diff =astextplain
23+ * .DOC diff =astextplain
24+ * .docx diff =astextplain
25+ * .DOCX diff =astextplain
26+ * .dot diff =astextplain
27+ * .DOT diff =astextplain
28+ * .pdf diff =astextplain
29+ * .PDF diff =astextplain
30+ * .rtf diff =astextplain
31+ * .RTF diff =astextplain
32+
33+ # ##############################################################################
34+ # Force Windows cmd and batch scripts to always use crlf line endings so that if
35+ # a repo is accessed in Windows via a file share from Unix, the scripts will
36+ # work.
37+ # ##############################################################################
38+ * .cmd text eol =crlf
39+ * .bat text eol =crlf
40+
41+ # ##############################################################################
42+ # Force bash scripts to always use lf line endings so that if a repo is accessed
43+ # in Unix via a file share from Windows, the scripts will work.
44+ # ##############################################################################
45+ * .sh text eol =lf
You can’t perform that action at this time.
0 commit comments