1
0
Fork 0

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

pull/1844/head
Walker Traylor 5 years ago
parent 793f239a5e
commit 71c06fc7f6

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

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

Loading…
Cancel
Save