Permalink
Browse files

为不同类型的脚本指定不同的换行符策略,以便脚本能正常执行。

  • Loading branch information...
1 parent e3a2c65 commit 694376e9f06d6e5ba7009c366e9ace81d11373ea a committed Dec 8, 2015
Showing with 7 additions and 0 deletions.
  1. +7 −0 .gitattributes
View
@@ -0,0 +1,7 @@
+# Windows-specific files that require CRLF:
+*.bat eol=crlf
+*.txt eol=crlf
+
+# Unix-specific files that require LF:
+*.java eol=lf
+*.sh eol=lf

0 comments on commit 694376e

Please sign in to comment.