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:
Marty Oehme 2023-10-02 19:10:27 +02:00
parent ec74d0ddff
commit 0fcac78b1f
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -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