How to rebase against origin/master?

mschumann September 3, 2015

git rebase -i origin/master

git rebase origin/master

 

Does this work in SourceTree? How?
If not; Is it planned on being added?

 

It's quite handy not having to change branch to my local master, update that to latest from origin, then switch back to my feature branch and use rebase on my local master. Being able to rebase, both regular rebase as well as interactively, against the origin master branch would be awesome!

2 answers

1 vote
mschumann September 23, 2015

Anyone?

0 votes
Sami Balbaky February 16, 2017

I'm also trying to do this. I'd like the ability to perform a "git pull master origin" against my local branch to update my branch accordingly with the click of a button. Currently, I toggle back to the command line and call out the git command "git pull origin master" against my current branch. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events