Added gsm alias for git show --summary - handy to view the last commit SHA and message, without the changes
This commit is contained in:
@@ -79,6 +79,7 @@ git_log_alias="gl"
|
|||||||
git_log_stat_alias="gls"
|
git_log_stat_alias="gls"
|
||||||
git_log_graph_alias="glg"
|
git_log_graph_alias="glg"
|
||||||
git_show_alias="gsh"
|
git_show_alias="gsh"
|
||||||
|
git_show_summary="gsm" # (gss taken by git status short)
|
||||||
|
|
||||||
|
|
||||||
# Git Keyboard Shortcuts
|
# Git Keyboard Shortcuts
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ if [ "$git_setup_aliases" = "yes" ]; then
|
|||||||
__git_alias "$git_merge_alias" "git" 'merge'
|
__git_alias "$git_merge_alias" "git" 'merge'
|
||||||
__git_alias "$git_cherry_pick_alias" "git" 'cherry-pick'
|
__git_alias "$git_cherry_pick_alias" "git" 'cherry-pick'
|
||||||
__git_alias "$git_show_alias" "git" 'show'
|
__git_alias "$git_show_alias" "git" 'show'
|
||||||
|
__git_alias "$git_show_summary" "git" 'show' '--summary'
|
||||||
|
|
||||||
|
|
||||||
# Compound/complex commands
|
# Compound/complex commands
|
||||||
|
|||||||
Reference in New Issue
Block a user