Support 'git branch'
This commit is contained in:
@@ -28,6 +28,8 @@ function git(){
|
|||||||
case $1 in
|
case $1 in
|
||||||
checkout|commit|reset|rm|blame|diff|add|log)
|
checkout|commit|reset|rm|blame|diff|add|log)
|
||||||
exec_scmb_expand_args "$_git_cmd" "$@";;
|
exec_scmb_expand_args "$_git_cmd" "$@";;
|
||||||
|
branch)
|
||||||
|
_scmb_git_branch_shortcuts "${@:2}";;
|
||||||
*)
|
*)
|
||||||
"$_git_cmd" "$@";;
|
"$_git_cmd" "$@";;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user