How to rebase against origin/master?

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

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,096 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you