From c2e70278b4441e0fd569fc01743148db304d6829 Mon Sep 17 00:00:00 2001 From: Lubos Kmetko Date: Wed, 17 Aug 2016 09:10:18 +0200 Subject: [PATCH] More specific list of files in gitattributes --- .gitattributes | 12 +++++++++++- generators/app/templates/.gitattributes | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index fcadb2cf..827d3696 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,11 @@ -* text eol=lf +# Enforce Unix newlines on text files +*.css text eol=lf +*.html text eol=lf +*.twig text eol=lf +*.js text eol=lf +*.json text eol=lf +*.less text eol=lf +*.scss text eol=lf +*.php text eol=lf +*.md text eol=lf +*.yml text eol=lf diff --git a/generators/app/templates/.gitattributes b/generators/app/templates/.gitattributes index fcadb2cf..827d3696 100644 --- a/generators/app/templates/.gitattributes +++ b/generators/app/templates/.gitattributes @@ -1 +1,11 @@ -* text eol=lf +# Enforce Unix newlines on text files +*.css text eol=lf +*.html text eol=lf +*.twig text eol=lf +*.js text eol=lf +*.json text eol=lf +*.less text eol=lf +*.scss text eol=lf +*.php text eol=lf +*.md text eol=lf +*.yml text eol=lf