git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: EXT: Re: "Your branch is ahead of 'origin' by X commits"

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 1, 2016, 22:20 UTC
Message-ID
<xmqqy3zz70lc.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<D465DC74.B911%ernesto.alfonsogonzalez@ge.com>

"Alfonsogonzalez, Ernesto (GE Digital)" <ernesto.alfonsogonzalez@ge.com> writes:

> I'm still not sure what it means for the branch upstream to be 'origin'
> only.

If only you checked who the upstream of your 'master' was before doing the set-upstream-to, it would have been trivial to answer that question, but that is water under the bridge now.

A wild guess is that the upstream of your 'master' was 'origin/HEAD' (whose name, when fully spelled out, is "refs/remotes/origin/HEAD"), which pointed to something other than "refs/remotes/origin/master"?

Previous: Alfonsogonzalez, Ernesto (GE Digital)Next: Jeff King
Message 2 of 4 in “Re: EXT: Re: "Your branch is ahead of 'origin' by X commits"”
  1. Alfonsogonzalez, Ernesto (GE Digital)Dec 1, 2016
  2. Junio C HamanoDec 1, 2016
  3. Jeff KingDec 1, 2016
  4. Alfonsogonzalez, Ernesto (GE Digital)Dec 1, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.