Some time ago I git fetch
a branch from a remote repo.
Let's call it origin/thebranch
So I had that and also my local thebranch
I checkout a new branch on top of that and did my work
Later I push that new branch into the remote after rebasing it to the latest master
The old origin/thebranch
stayed in the same place after the rebase
So now I have been told there is new work in origin/thebranch
so I did git fetch origin thebranch
.
I got
From <remote repo url>
* branch thebranch -> FETCH_HEAD
and turns out nothing happened the branch (both remote and local) are in the same place and I did not get the latests commits of "the branch"
What can I do here?
(btw thebranch
is written by a colleague so I am limited on what I can do I suppose)