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

Re: branch annotations?

From
TCTim Chase <git@tim.thechases.com>
Date
Nov 25, 2013, 15:08 UTC
Message-ID
<20131125090845.24ed43e3@bigbox.christie.dr>
In-Reply-To
<CALKQrgdTxYmy2ncXNB29B0-05g8CK=-jxWfDVPbUjHTPsm1yOw@mail.gmail.com>
On 2013-11-25 15:55, Johan Herland wrote:
Show 10 quoted lines
> "git branch --edit-description" allows you to write a descriptive
> string for your branch. AFAICS, however, it currently only shows up
> when using request-pull. It does not show up in any git branch
> command. IMHO that should be fixed.
> 
> As a workaround, you can use this one-liner:
> 
>   git for-each-ref --format "%(refname:short)" refs/heads/ | while
> read branch; do echo "$branch - $(git config
> branch.$branch.description)"; done
That works like a charm.  Thanks!
-tkc
Previous: Johan HerlandNext: Jeff King
Message 3 of 5 in “branch annotations?”
  1. Tim ChaseNov 25, 2013
  2. Johan HerlandNov 25, 2013
  3. Tim ChaseNov 25, 2013
  4. Jeff KingNov 25, 2013
  5. Ramkumar RamachandraNov 25, 2013

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.