diff --git a/Mathematica.gitattributes b/Mathematica.gitattributes new file mode 100644 index 0000000..7b33094 --- /dev/null +++ b/Mathematica.gitattributes @@ -0,0 +1,18 @@ +# Basic .gitattributes for a Mathematica repo. + +# Source files +# Caution: *.m also matches Matlab files. +# ============ +*.nb text diff=mathematica +*.wls text diff=mathematica +*.wl text diff=mathematica +*.m text diff=mathematica + +# Test files +# ========== +*.wlt text diff=mathematica +*.mt text diff=mathematica + +# Binary files +# ============ +*.mx binary