summaryrefslogtreecommitdiff
path: root/.config/git
diff options
context:
space:
mode:
Diffstat (limited to '.config/git')
-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