summaryrefslogtreecommitdiff
path: root/.config/git/config
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-16 13:32:21 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-16 13:32:21 +0100
commit4f3063a34d31d3d14c67765486a1395229b6ccb5 (patch)
tree0a7dc8e5b8ffc2a717b696d6541843f79e61ec4c /.config/git/config
parentee67b08de9db318102c236e2a87d52a2689f9f26 (diff)
downloaddotfiles-4f3063a34d31d3d14c67765486a1395229b6ccb5.tar.gz
dotfiles-4f3063a34d31d3d14c67765486a1395229b6ccb5.tar.bz2
dotfiles-4f3063a34d31d3d14c67765486a1395229b6ccb5.zip
Move gitconfig to ~/.config/git
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
new file mode 100644
index 0000000..9ffc38a
--- /dev/null
+++ b/.config/git/config
@@ -0,0 +1,24 @@
+[user]
+ name = Benjamin Franzke
+ email = benjaminfranzke@googlemail.com
+[sendemail]
+ smtpencryption = tls
+ smtpserver = smtp.gmail.com
+ smtpuser = benjaminfranzke@googlemail.com
+ smtpserverport = 587
+[log]
+ decorate = true
+[alias]
+ grp = !git --no-pager grep --color=auto
+ tree = log --oneline --decorate --graph
+ branch-info = "!sh -c 'git branch --no-color | \
+ sed -e \"s/*/ /\" | \
+ while read branch; do \
+ git log -1 --format=format:\"%Cred$branch:%Cblue %s %Cgreen%h%Creset (%ar)\" $branch | cat; echo; \
+ done'"
+
+[push]
+ default = simple
+
+[apply]
+ whitespace = strip