From cf734f22fd1efb42697349d9f50555e5ddd0cdcd Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sun, 1 Jul 2018 10:45:40 -0500 Subject: [PATCH] .gitconfig: Add core.attributesfile --- .gitconfig | 3 ++- .gitfiles/gitattributes-global | 2 ++ .gitignore_global => .gitfiles/gitignore-global | 0 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitfiles/gitattributes-global rename .gitignore_global => .gitfiles/gitignore-global (100%) diff --git a/.gitconfig b/.gitconfig index c5914a7..2bfdc9b 100644 --- a/.gitconfig +++ b/.gitconfig @@ -40,7 +40,8 @@ filemode = true logallrefupdates = true whitespace = space-before-tab, trailing-space - excludesfile = ~/.gitignore_global + excludesfile = ~/.gitfiles/gitignore-global + attributesfile = ~/.gitfiles/gitattributes-global pager = diff-pager [interactive] diff --git a/.gitfiles/gitattributes-global b/.gitfiles/gitattributes-global new file mode 100644 index 0000000..7478147 --- /dev/null +++ b/.gitfiles/gitattributes-global @@ -0,0 +1,2 @@ +*.m diff=m +*.json diff=json diff --git a/.gitignore_global b/.gitfiles/gitignore-global similarity index 100% rename from .gitignore_global rename to .gitfiles/gitignore-global -- 2.45.2