Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a .gitattributes file to set the line ending behavior when chec…

…king out/committing
  • Loading branch information...
commit ab2edbe4ddd78ad6fc9b9887d3a6c5d0259829e3 1 parent 26d677f
@ravage84 ravage84 authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 .gitattributes
View
33 .gitattributes
@@ -0,0 +1,33 @@
+# Define the line ending behavior of the different file extensions
+# Set default behaviour, in case users don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files we want to always be normalized and converted
+# to native line endings on checkout.
+*.php text
+*.default text
+*.ctp text
+*.sql text
+*.md text
+*.mo text
@ADmad Collaborator
ADmad added a note

.mo are binary files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+*.po text
+*.js text
+*.css text
+*.ini text
+*.properties text
+*.txt text
+*.xml text
+*.yml text
+.htaccess text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.bat eol=crlf
+
+# Declare files that will always have LF line endings on checkout.
+*.pem eol=lf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.gif binary
+*.ico binary
Please sign in to comment.
Something went wrong with that request. Please try again.