From 398f265b163b2f5af57a84e6ee6eefa3c7b75d16 Mon Sep 17 00:00:00 2001 From: Bruno Date: Tue, 20 Oct 2015 22:22:06 +0200 Subject: [PATCH] Manage text and binary files --- .gitattributes | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d92f7d9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,33 @@ +.gitattributes export-ignore +.gitignore export-ignore +.git export-ignore + +# Auto detect text files and perform LF normalization +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.txt text +*.ino text +*.c text +*.h text +*.cpp text + + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.fzz binary + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain +