diff --git a/git.scmbrc.example b/git.scmbrc.example index 29bb3f5..0499104 100644 --- a/git.scmbrc.example +++ b/git.scmbrc.example @@ -9,7 +9,7 @@ export gs_max_changes="150" # - When using the git_add_shorcuts() command, automatically invoke 'git rm' to remove deleted files? export ga_auto_remove="yes" -# - Set the following option to 'no' if you want to use your existing git aliases +# - Set the following option to 'no' if you want to use your existing git aliases # instead of overwriting them. # Note: Bash tab completion will not be automatically set up for your aliases if you disable this option. export git_setup_aliases="yes" @@ -79,6 +79,7 @@ git_log_alias="gl" git_log_stat_alias="gls" git_log_graph_alias="glg" git_show_alias="gsh" +git_show_summary="gsm" # (gss taken by git status short) # Git Keyboard Shortcuts diff --git a/lib/git/aliases.sh b/lib/git/aliases.sh index 94ca98f..a742d1a 100644 --- a/lib/git/aliases.sh +++ b/lib/git/aliases.sh @@ -117,6 +117,7 @@ if [ "$git_setup_aliases" = "yes" ]; then __git_alias "$git_merge_alias" "git" 'merge' __git_alias "$git_cherry_pick_alias" "git" 'cherry-pick' __git_alias "$git_show_alias" "git" 'show' + __git_alias "$git_show_summary" "git" 'show' '--summary' # Compound/complex commands