Skip to content

Commit

Permalink
adds gitattributes and gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Borja Outerelo committed Sep 13, 2017
1 parent 7dcce96 commit 5aa0888
Show file tree
Hide file tree
Showing 2 changed files with 554 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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.
*.c text
*.cpp text
*.cxx text
*.h text
*.idl text
*.stg text eol=lf

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.bat text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary

# To diff LibreOffice documents.
# It is needed next configuration value: diff.odf.textconv=odt2txt
*.ods diff=odf
*.odt diff=odf
*.odp diff=odf
Loading

0 comments on commit 5aa0888

Please sign in to comment.