So I am in branch feature
. And I want to rebase w/ branch master
.
git rebase master
And it says that feature
branch is up-to-date. Of course it is because master
branch hasn't changed — it is the same as in moment when I create feature
branch from it.
Actually it is not. All I need is to do pull in master
branch.
git checkout master
git pull
git checkout feature
My question: can't I update master
branch w/o checking-out to it?
I tried from feature
branch:
git pull origin master master
...but it updated feature
branch (not what I wanted to) and it has commits “in furure“ in it.
Thanks in any advice! :)