Added gsm alias for git show --summary - handy to view the last commit SHA and message, without the changes

This commit is contained in:
Nathan Broadbent
2012-08-22 20:48:36 +12:00
parent 8aa79a0b78
commit 760ca4eab7
2 changed files with 3 additions and 1 deletions

View File

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

View File

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