From e9faf8c4e623e269ae1b7eb3953a858dbb706969 Mon Sep 17 00:00:00 2001 From: Benjamin Morrison Date: Mon, 19 Oct 2020 19:47:27 -0400 Subject: added .gitattributes field to git config --- .config/git/config | 4 +++- .gitattributes | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.config/git/config b/.config/git/config index 4816e6b..ebc7e78 100644 --- a/.config/git/config +++ b/.config/git/config @@ -9,7 +9,7 @@ email = ben@gbmor.dev signingkey = EAB272409CD12FF0 [init] - templatedir = /home/ahriman/.config/git/template.git + templatedir = /home/deofol/.config/git/template.git [commit] gpgsign = true [hub] @@ -20,3 +20,5 @@ helper = cache --timeout 3600 [pull] rebase = false +[core] + attributesFile = /home/deofol/.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e96eff2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +*.cpp diff=cpp +*.cs diff=csharp +*.css diff=css +*.ex diff=elixir +*.exs diff=elixir +*.go diff=golang +*.htm diff=html +*.html diff=html +*.md diff=markdown +*.php diff=php +*.pl diff=perl +*.rake diff=ruby +*.rb diff=ruby +*.rs diff=rust +*.tex diff=tex -- cgit 1.4.1