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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Am 20.08.2008 um 22:26 schrieb ir0s:

$ git checkout mybranch
Switched to branch "mybranch "
Your branch is ahead of the tracked remote branch 'origin/ remotebranch' by 4
commits.
mybranch

Accurately, it has 4 commits that I haven't pushed yet. I try to push them
but I get the following:
$ git push origin remotebranch
Everything up-to-date

Any ideas?

You need to name the local branch, not the remote one:

$ git push origin mybranch

It should then push to remotebranch.

HTH,
Andreas

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux