~kiril/dotfiles

4753024f76ae49d1b2058f798b9249bffd5c783f — Kiril Vladimirov 1 year, 6 months ago 77cd855
bin/git-rebase-on: always go back to the source branch
1 files changed, 1 insertions(+), 0 deletions(-)

M bin/git-rebase-on
M bin/git-rebase-on => bin/git-rebase-on +1 -0
@@ 8,3 8,4 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
git checkout $1
git pull origin $1 --rebase
git rebase $1 "$current_branch"
git checkout "$current_branch"