summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.config/git/config4
-rw-r--r--.gitattributes15
2 files changed, 18 insertions, 1 deletions
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