Added gsm alias for git show --summary - handy to view the last commit SHA and message, without the changes
This commit is contained in:
@@ -9,7 +9,7 @@ export gs_max_changes="150"
|
|||||||
# - When using the git_add_shorcuts() command, automatically invoke 'git rm' to remove deleted files?
|
# - When using the git_add_shorcuts() command, automatically invoke 'git rm' to remove deleted files?
|
||||||
export ga_auto_remove="yes"
|
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.
|
# instead of overwriting them.
|
||||||
# Note: Bash tab completion will not be automatically set up for your aliases if you disable this option.
|
# Note: Bash tab completion will not be automatically set up for your aliases if you disable this option.
|
||||||
export git_setup_aliases="yes"
|
export git_setup_aliases="yes"
|
||||||
@@ -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