diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-09-14 11:55:26 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-09-14 11:55:26 -0400 |
commit | 1b094a85a8fc54377b5af8c0dc9ab2e79f9c8b20 (patch) | |
tree | 3e6beca30510b55a4601b4a7827be729dda3e13e | |
parent | c394f413562df274c89538d30b9a6dffc3c59870 (diff) |
Specify text and binary files
-rw-r--r-- | .gitattributes | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..48e1da4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Auto detect text files and perform LF normalization +* text eol=lf + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.asm text +*.txt text +*.md text +*.py text +*.c text +*.h text +*.sh text + +# Denote all files that are truly binary and should not be modified. +*.png binary diff=hex +*.xor binary diff=hex +*.tilemap binary diff=hex +*.attrmap binary diff=hex +*.tilemap_attrmap binary diff=hex + +# these are generated but just in case +*.bin binary diff=hex |