On Wed, Aug 20, 2008 at 5:15 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > "Avery Pennarun" <apenwarr@xxxxxxxxx> writes: > >> On Wed, Aug 20, 2008 at 4:40 PM, Andreas Färber <andreas.faerber@xxxxxx> 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. ...and I'm dumb. I apologize. "git pull origin mybranch" does not update origin/mybranch. "git push origin mybranch" does. It could be argued that pull should update the local reference too, but that's irrelevant at the moment. Have fun, Avery -- 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