When I'm on my branch I want to make pull from the master to get the latest version of code, then I rebase my branch onto master and after I push my branch to the server and create a pull request.
Today I do all of this the next way:
- I'm on
my_branch, I switch tomasterbranch - After switch, being on
master, I either executegit pullor in Intellij use the graphic interfaceVCS->git->pull - I go back to
my_branchand perform the rebase - After rebase I make a
git push -f
How could I avoid switching from my_branch to master and back in Intellij? Is there a way to pull the master to master being on another branch?