File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://www.git-scm.com/docs/gitattributes
2+
3+ # Set default behavior to automatically normalize line endings.
4+ * text =auto
5+
6+ # Force bash scripts to always use LF line endings so that if a repo is accessed
7+ # in Unix via a file share from Windows, the scripts will work.
8+ * .sh text eol =lf
9+
10+ # Set specific extensions manually as binary.
11+ # https://www.git-scm.com/docs/gitattributes#_marking_files_as_binary
12+ * .data - diff
13+
14+ # Configure non-standard file extensions. Set as text to allow for line ending
15+ # conversion to LF, diff type for Git, and syntax highlighting language for GitHub.
16+ # https://github.com/github-linguist/linguist/blob/master/docs/overrides.md
17+ * .module text diff =php linguist-language =php
18+ * .rs.example text diff =rust linguist-language =rust
19+
20+ # Windows-specific extensions that require CRLF line endings
21+ * .{cmd, [cC ][mM ][dD ]} text eol =crlf
22+ * .{bat, [bB ][aA ][tT ]} text eol =crlf
You can’t perform that action at this time.
0 commit comments