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

Re: how to hide some branches

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 30, 2008, 15:16 UTC
Message-ID
<81b0412b0811300716q1b973fcex7b54dcc70132a415@mail.gmail.com>
In-Reply-To
<493261C9.4040608@obry.net>
2008/11/30 Pascal Obry <pascal@obry.net>:
Show 10 quoted lines
> I create a new branch for every new feature/fix I work on. After some
> time I have many (too much) branch listed when doing:
>
>   $ git branch
>
> I'd like to hide some (not removing them).
>
> Is there a solution for this?
>
> How you people handle this?
Rename them into something _not_ under refs/heads:
  git update-ref refs/hidden/branch branch
  git branch -D branch
?
Previous: Pascal ObryNext: Pete Harlan
Message 2 of 5 in “how to hide some branches”
  1. Pascal ObryNov 30, 2008
  2. Alex RiesenNov 30, 2008
  3. Pete HarlanNov 30, 2008
  4. Pascal ObryDec 1, 2008
  5. Peter KreftingDec 1, 2008

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.