Re: Show all branches and ahead/behind states
- From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
- Date
- May 14, 2015, 15:55 UTC
- Message-ID
- <1431618938.31573.3.camel@kaarsemaker.net>
- In-Reply-To
- <CAHd499AyEDNM7mDstFugD0Ah46=gAS=BRocDmpmOK-1k+qMCmw@mail.gmail.com>
On do, 2015-05-14 at 09:57 -0500, Robert Dailey wrote:
Show 7 quoted lines
> Is there a script or built-in functionality in git 2.4.1 that will > allow me to list all local branches with the ahead and behind status > of each? Basically the first line of: > > $ git status -sb > > But for every branch would be roughly what I'm looking for. Any ideas? Thanks.
git branch -v (or -vv) is what you're after.
-- Dennis Kaarsemaker www.kaarsemaker.net