summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenjamin Morrison <ben@gbmor.dev>2020-10-19 19:47:27 -0400
committerBenjamin Morrison <ben@gbmor.dev>2020-10-19 19:47:58 -0400
commite9faf8c4e623e269ae1b7eb3953a858dbb706969 (patch)
tree60a3d6ceba2117fd3591a594bc44532d8af2ff38
parent15636fd7fc0e96d21c87a119904311c2b230920a (diff)
downloaddogfiles-e9faf8c4e623e269ae1b7eb3953a858dbb706969.tar.gz
added .gitattributes field to git config
-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