Subject: Re: Local branch ahead of tracked remote branch but git push claims everything up-to-date

From: Michael J Gruber <[email-masked]>
Date: Thu, 21 Aug 2008 18:22:49 +0200

ir0s venit, vidit, dixit 21.08.2008 17:35:
> Sorry if you get this twice, oddly my first attempt to send this bounced.
> Thank you for all the good advice however, none of it seemed to resolve my
> issue.
> 
> Attempting to call:
> $git push origin mybranch
> 
> Results in the same message: Everything up to date =/
> I also tried to call $git fetch origin just in case, and doing a pull
> doesn't return anything (which makes sense, no one pushed anything to the
> branch -- although I seem to be the only one with this issue.)
> 
> Could my branch have somehow diverged from the origin remotebranch?
> 
> -- Irene

What do the following report:

git ls-remote origin
git ls-remote .
git log --pretty=oneline mybranch...origin/remotebranch

Michael