git: Add date-enabled short log aliases
In addition to the existing `glg` and `glga` aliases for showing one-line git logs for current or all branches, this commit adds `glgd` and `glgad` for showing one-line git logs for current or all branches *with date information*. The date info comes from authoring date not committing date.
This commit is contained in:
parent
ec74d0ddff
commit
0fcac78b1f
1 changed files with 2 additions and 0 deletions
|
@ -40,7 +40,9 @@ alias gi='git ignore'
|
|||
alias gll='git last'
|
||||
# show quick log overview
|
||||
alias glg='git log --oneline --decorate --graph'
|
||||
alias glgd="git log --graph --pretty=format:'%C(auto)%h%Creset %C(cyan)%ar%Creset%C(auto)%d%Creset %s'"
|
||||
alias glga='git log --oneline --decorate --graph --remotes --all'
|
||||
alias glgad="git log --graph --remotes --all --pretty=format:'%C(auto)%h%Creset %C(cyan)%ar%Creset%C(auto)%d%Creset %s'"
|
||||
# show detailed log overview
|
||||
alias glog='git log --stat'
|
||||
# show detailed log overview with contents
|
||||
|
|
Loading…
Reference in a new issue