git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Howard Miller <howard@e-learndesign.co.uk>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git@vger.kernel.org
Subject: Re: How do I get a list of tracking branches
Date: Thu, 21 Jan 2010 10:03:46 +0000	[thread overview]
Message-ID: <26ae428a1001210203kf5feb0bt132546421a8fae2e@mail.gmail.com> (raw)
In-Reply-To: <4B5823C1.9010904@drmicha.warpmail.net>

>> I know I can go and look at the config file and get this info but is
>> there a simple command that shows which local branches are tracking
>> remote branches? It seems like a very obvious thing to want to know
>> but I can't find it. 'branch -av' even shows 'n behind' and/or 'n
>> ahead' but not *what* it is behind or ahead.
>
> The latter info you get with git branch -vv.
>
> But you said you wanted to know which local branches have upstreams. Or
> do you want to know which local branches have a specific remote as upstream?
>
> Michael

Hi Michael,

Thanks. That's *exactly* what I needed. It's just an extension of my
general rant that while git makes it very easy to create branches it
also makes it very easy to forget why you created them. Or it's easy
for me to forget anyway :-)

Howard

      reply	other threads:[~2010-01-21 10:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21  9:25 How do I get a list of tracking branches Howard Miller
2010-01-21  9:52 ` Michael J Gruber
2010-01-21 10:03   ` Howard Miller [this message]

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=26ae428a1001210203kf5feb0bt132546421a8fae2e@mail.gmail.com \
    --to=howard@e-learndesign.co.uk \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).