From 5b5f90f35f737d3122aed916ac39b09a5a4ae01f Mon Sep 17 00:00:00 2001 From: Oskar Grunning Date: Fri, 22 Mar 2019 08:56:51 +0100 Subject: [PATCH] feat(git): add alias for reflog --- modules/git/README.md | 1 + modules/git/init.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/git/README.md b/modules/git/README.md index 9c0abc7..0312002 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -106,6 +106,7 @@ Aliases * `glg` displays the graph log. * `glG` displays the graph log with authors and dates. * `glv` displays the log verifying the GPG signature of commits. + * `glr` displays the reference log. * `glc` displays the commit count for each contributor in descending order. ### Merge diff --git a/modules/git/init.zsh b/modules/git/init.zsh index 6141801..07b99a3 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -100,6 +100,7 @@ alias glO='git log --topo-order --pretty=format:"${_git_log_oneline_medium_forma 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_medium_format}"' alias glv='git log --topo-order --show-signature --pretty=format:"${_git_log_medium_format}"' +alias glr="git reflog" alias glc='git shortlog --summary --numbered' # Merge (m)