alias.zsh: add glgc alias to show git log graph in compact form.

This commit is contained in:
Walker Traylor 2020-03-10 05:01:18 +07:00
parent 793f239a5e
commit 71c06fc7f6
2 changed files with 2 additions and 0 deletions

View file

@ -219,6 +219,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
- `gld` displays the diff log. - `gld` displays the diff log.
- `glo` displays the one line log. - `glo` displays the one line log.
- `glg` displays the graph log. - `glg` displays the graph log.
- `glgc` displays the graph log in compact form.
- `glb` displays the brief commit log. - `glb` displays the brief commit log.
- `glc` displays the commit count for each contributor in descending order. - `glc` displays the commit count for each contributor in descending order.
- `glS` displays the log and checks the validity of signed commits. - `glS` displays the log and checks the validity of signed commits.

View file

@ -189,6 +189,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
alias gld='git log --topo-order --stat --patch --full-diff --pretty=format:"${_git_log_medium_format}"' alias gld='git log --topo-order --stat --patch --full-diff --pretty=format:"${_git_log_medium_format}"'
alias glo='git log --topo-order --pretty=format:"${_git_log_oneline_format}"' alias glo='git log --topo-order --pretty=format:"${_git_log_oneline_format}"'
alias glg='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_format}"' alias glg='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_format}"'
alias glgc='git log --graph --oneline --decorate --all'
alias glb='git log --topo-order --pretty=format:"${_git_log_brief_format}"' alias glb='git log --topo-order --pretty=format:"${_git_log_brief_format}"'
alias glc='git shortlog --summary --numbered' alias glc='git shortlog --summary --numbered'
alias glS='git log --show-signature' alias glS='git log --show-signature'