diff options
author | June McEnroe <june@causal.agency> | 2016-01-15 12:07:37 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2016-01-15 12:07:37 -0500 |
commit | 6b97808bc5ddcd6b7059ad2755e10515f6b4fe32 (patch) | |
tree | d9aa4a1e88a0534e15986390e0057d4d1af2693d | |
parent | Remove unused git aliases (diff) | |
download | src-6b97808bc5ddcd6b7059ad2755e10515f6b4fe32.tar.gz src-6b97808bc5ddcd6b7059ad2755e10515f6b4fe32.zip |
Move pretty git log format to .gitconfig
Diffstat (limited to '')
-rw-r--r-- | .gitconfig | 2 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig index e1686b43..9eddd2d2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,6 +13,8 @@ autocorrect = 1 [color] ui = true +[pretty] + log = %Cred%h %Creset%s%C(yellow)%d %Cgreen(%ar) %Cblue<%an> [sendemail] smtpencryption = tls smtpserver = smtp.gmail.com diff --git a/.zshrc b/.zshrc index ec27c88e..bdb5313e 100644 --- a/.zshrc +++ b/.zshrc @@ -99,7 +99,7 @@ alias gca='git commit --amend' alias gcl='git clone' alias gco='git checkout' alias gd='git diff' -alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --color" +alias gl='git log --graph --pretty=log' alias gm='git merge' alias gmv='git mv' alias gp='git push' |