Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Alfonsogonzalez\,
	Ernesto \(GE Digital\)"  <ernesto.alfonsogonzalez@ge.com>
Cc: Jeff King <peff@peff.net>, "git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: EXT: Re: "Your branch is ahead of 'origin' by X commits"
Date: Thu, 01 Dec 2016 14:20:47 -0800	[thread overview]
Message-ID: <xmqqy3zz70lc.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <D465DC74.B911%ernesto.alfonsogonzalez@ge.com> (Ernesto Alfonsogonzalez's message of "Thu, 1 Dec 2016 22:03:33 +0000")

"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"?


  reply	other threads:[~2016-12-01 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 22:03 EXT: Re: "Your branch is ahead of 'origin' by X commits" Alfonsogonzalez, Ernesto (GE Digital)
2016-12-01 22:20 ` Junio C Hamano [this message]
2016-12-01 22:23 ` Jeff King
2016-12-01 22:36   ` Alfonsogonzalez, Ernesto (GE Digital)
  -- strict thread matches above, loose matches on Subject: below --
2016-12-02 18:35 Alfonsogonzalez, Ernesto (GE Digital)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqy3zz70lc.fsf@gitster.mtv.corp.google.com \
    --to=gitster@pobox.com \
    --cc=ernesto.alfonsogonzalez@ge.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox