2642f0a8b4d037cd178356132e5dc59c9e90c631

Author
Chuan Jin <chuan.jin.813@gmail.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Add git log with date (#6789)

Diff

 1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
 2index fd55be138618e2ac12416b7a6406afc35c9cfc2a..34598fb351b4026cf557ae2d7423c55ff5999f90 100644
 3--- a/plugins/git/git.plugin.zsh
 4+++ b/plugins/git/git.plugin.zsh
 5@@ -181,6 +181,8 @@ alias glgga='git log --graph --decorate --all'
 6 alias glgm='git log --graph --max-count=10'
 7 alias glo='git log --oneline --decorate'
 8 alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
 9+alias glod="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'"
10+alias glods="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short"
11 alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all"
12 alias glog='git log --oneline --decorate --graph'
13 alias gloga='git log --oneline --decorate --graph --all'