Re: Local branch ahead of tracked remote branch but git push claims everything up-to-date
"Avery Pennarun" <apenwarr@gmail.com> writes:
Show 10 quoted lines
> On Wed, Aug 20, 2008 at 4:40 PM, Andreas Färber <andreas.faerber@web.de> wrote:
>> You need to name the local branch, not the remote one:
>>
>> $ git push origin mybranch
>>
>> It should then push to remotebranch.
>
> Not only that, but the "ahead of tracked branch" message depends on
> your local copy of the remote branch, not the remote copy of the
> remote branch.
I think we have long been doing so. Daniel, correct me.