From: Andreas Färber Date: Wed, 20 Aug 2008 20:40:46 GMT Subject: Re: Local branch ahead of tracked remote branch but git push claims everything up-to-date Message-ID: <8585F10E-C33C-481E-B044-A7125F3316F2@web.de> In-Reply-To: <1219263969579-736663.post@n2.nabble.com> 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