From 521f9e78b6ba52c3f87d7981941af4aa174dd5dc Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Mon, 10 Jun 2013 11:40:36 +0200 Subject: [PATCH] New git alias : gitk-entier-history Signed-off-by: Gaetan Semet --- plugins/git/git.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index cf897239c..188c133eb 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -78,6 +78,9 @@ alias gg='git gui citool' alias gga='git gui citool --amend' alias gk='gitk --all --branches' alias gss='git stash show --text' +alias gitk-entier-history='gitk --all $(git log -g --pretty=format:%h)' # show complete history, with dangling commits +# Note: if the commit has been cleaned my 'git gc', the dangling commits older than 2 weeks may already been completely deleted +# # Will cd into the top of the current repository # or submodule. @@ -121,3 +124,4 @@ function _git_log_prettily(){ } alias glp="_git_log_prettily" compdef _git glp=git-log +