Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added alias for git rebase -i

  • Loading branch information...
commit 281131ef27785faf5f804e70211a8335084b8475 1 parent 179d78f
@ndbroadbent authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  git.scmbrc.example
  2. +1 −0  lib/git/aliases.sh
View
3  git.scmbrc.example
@@ -71,6 +71,7 @@ git_branch_all_alias="gba"
git_branch_move_alias="gbm"
git_branch_delete_alias="gbd"
git_rebase_alias="grb"
+git_rebase_interactive_alias="grbi"
git_rebase_alias_continue="grbc"
git_rebase_alias_abort="grba"
git_merge_alias="gm"
@@ -95,4 +96,4 @@ git_add_and_commit_keys="\C-xc" # CTRL+x, c
# Expand numbered args for common shell commands
shell_command_wrapping_enabled="true"
# Here you can tweak the list of wrapped commands.
-scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd"
+scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd"
View
1  lib/git/aliases.sh
@@ -112,6 +112,7 @@ if [ "$git_setup_aliases" = "yes" ]; then
__git_alias "$git_clean_force_alias" "git" "clean" "-fd"
__git_alias "$git_remote_alias" "git" 'remote' '-v'
__git_alias "$git_rebase_alias" "git" 'rebase'
+ __git_alias "$git_rebase_interactive_alias" "git" 'rebase' "-i"
__git_alias "$git_rebase_alias_continue" "git" 'rebase' "--continue"
__git_alias "$git_rebase_alias_abort" "git" 'rebase' "--abort"
__git_alias "$git_merge_alias" "git" 'merge'
Please sign in to comment.
Something went wrong with that request. Please try again.