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

Re: [RFC/PATCH] show tracking branches with their associated branch names

From
SMSanthosh Kumar Mani <santhoshmani@gmail.com>
Date
Dec 10, 2011, 11:23 UTC
Message-ID
<1323516226.1698.80.camel@sdesktop>
In-Reply-To
<4EE32C1B.8070306@lyx.org>
On Sat, 2011-12-10 at 10:53 +0100, Vincent van Ravesteijn wrote:
Show 19 quoted lines
> Op 10-12-2011 8:40, Santhosh Kumar Mani schreef:
> > The "git branch" command, by default, displays the local branches. There
> > is no visual distinction made between the tracking branches and normal
> > local branches. This patch enables the "git branch" to display
> > tracking info for tracking branches:
> >
> > Before this patch:
> >    $ git branch
> >    * master
> >      local
> >
> > After this patch:
> >    $ git branch
> >    * master [origin/master]
> >      local
> >
> >
> Did you try "git branch -vv" ?
> 
Yes. I did. It is too verbose as it meant to be.

This patch distinguishes between the tracking and non-tracking local branches.

I use a lot of tracking branches and they track different branches. I tend find this feature useful to know which branch tracks what.

Of course, I could get this information in different ways. But it makes sense to have this information displayed by default.

> Vincent

Regards, Santhosh.

Previous: Vincent van RavesteijnNext: Junio C Hamano
Message 3 of 5 in “show tracking branches with their associated branch names”
  1. show tracking branches with their associated branch namesSanthosh Kumar Mani, Dec 10, 2011
  2. Vincent van RavesteijnDec 10, 2011
  3. Santhosh Kumar ManiDec 10, 2011
  4. Junio C HamanoDec 12, 2011
  5. SanthoshDec 12, 2011

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.