Re: How do I get a list of tracking branches
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Jan 21, 2010, 09:52 UTC
- Message-ID
- <4B5823C1.9010904@drmicha.warpmail.net>
- In-Reply-To
- <26ae428a1001210125j156b61afs64bb915a934530c6@mail.gmail.com>
Howard Miller venit, vidit, dixit 21.01.2010 10:25:
Show 7 quoted lines
> Hi, > > 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