From 4f3063a34d31d3d14c67765486a1395229b6ccb5 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 16 Jan 2014 13:32:21 +0100 Subject: Move gitconfig to ~/.config/git --- .config/git/config | 24 ++++++++++++++++++++++++ .gitconfig | 24 ------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 .config/git/config delete mode 100644 .gitconfig 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 diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 9ffc38a..0000000 --- a/.gitconfig +++ /dev/null @@ -1,24 +0,0 @@ -[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 -- cgit