summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitconfig2
-rw-r--r--.zshrc2
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'