aboutsummaryrefslogtreecommitdiff
path: root/git/config.mi5
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-12 22:07:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-12 22:07:00 +1200
commit1cbf90a0938ecb184b8abb4f5039ece2afbbaf5a (patch)
tree981dbf9f1a5c218020b53591c5ffd0621cec8433 /git/config.mi5
parentUse short hostname in tmux status (diff)
downloaddotfiles-1cbf90a0938ecb184b8abb4f5039ece2afbbaf5a.tar.gz
dotfiles-1cbf90a0938ecb184b8abb4f5039ece2afbbaf5a.zip
Use XDG basedirs for Git config
Diffstat (limited to 'git/config.mi5')
-rw-r--r--git/config.mi537
1 files changed, 37 insertions, 0 deletions
diff --git a/git/config.mi5 b/git/config.mi5
new file mode 100644
index 00000000..fba79411
--- /dev/null
+++ b/git/config.mi5
@@ -0,0 +1,37 @@
+[commit]
+ status = false
+
+[diff]
+ algorithm = patience
+
+[fetch]
+ output = compact
+
+[init]
+ templateDir = <% XDG_CONFIG_HOME %>/git/template
+
+[log]
+ date = local
+ decorate = short
+
+[merge]
+ ff = false
+ log = 1024
+
+[pull]
+ ff = only
+
+[push]
+ default = current
+
+[sendemail]
+ confirm = compose
+ smtpServer = <% SENDMAIL %>
+
+[status]
+ short = true
+
+[user]
+ name = <% NAME %>
+ email = <% EMAIL %>
+ signingKey = <% KEY %>