diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-01-16 13:32:21 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-01-16 13:32:21 +0100 |
commit | 4f3063a34d31d3d14c67765486a1395229b6ccb5 (patch) | |
tree | 0a7dc8e5b8ffc2a717b696d6541843f79e61ec4c /.config/git/config | |
parent | ee67b08de9db318102c236e2a87d52a2689f9f26 (diff) | |
download | dotfiles-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/config | 24 |
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 |