summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuan Jin <chuan.jin.813@gmail.com>2018-05-21 01:02:53 +0200
committerRobby Russell <robby@planetargon.com>2018-05-20 16:02:53 -0700
commit2642f0a8b4d037cd178356132e5dc59c9e90c631 (patch)
tree660717f60beb79a22367aa1f437833c65bb45b81
parentee96d0cf9634f25abb69a5cec68073a015dab0a5 (diff)
downloadzsh-2642f0a8b4d037cd178356132e5dc59c9e90c631.tar.gz
zsh-2642f0a8b4d037cd178356132e5dc59c9e90c631.tar.bz2
zsh-2642f0a8b4d037cd178356132e5dc59c9e90c631.zip
Add git log with date (#6789)
-rw-r--r--plugins/git/git.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index fd55be138..34598fb35 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -181,6 +181,8 @@ alias glgga='git log --graph --decorate --all'
alias glgm='git log --graph --max-count=10'
alias glo='git log --oneline --decorate'
alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
+alias glod="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'"
+alias glods="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short"
alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all"
alias glog='git log --oneline --decorate --graph'
alias gloga='git log --oneline --decorate --graph --all'