Skip to content

Commit

Permalink
Add git rbb alias to rebase branches
Browse files Browse the repository at this point in the history
  • Loading branch information
paul committed Mar 9, 2018
1 parent 43d1f2f commit 0849c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git/.gitconfig
Expand Up @@ -50,6 +50,8 @@
rbi = rebase --interactive
rbc = rebase --continue
rba = rebase --abort
# Rebase commits on current branch, without adding in new commits from master
rbb = "!git rebase -i `git merge-base master HEAD`"

#
# Working with branches
Expand Down Expand Up @@ -83,8 +85,6 @@
# As above, but in your difftool
merge-difftool = "!git difftool `git merge-span ... $1`"

# Interactively rebase all the commits on the current branch
rebase-branch = "!git rebase -i `git merge-base master HEAD`"

#
# Working with files
Expand Down

0 comments on commit 0849c17

Please sign in to comment.