diff options
-rw-r--r-- | .gitconfig | 2 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig index 3b0f18b1..c55324f3 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' |