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

Re: Deleting branches in cogito

From
Jeff King <peff@peff.net>
Date
Jan 9, 2007, 15:16 UTC
Message-ID
<20070109151611.GD10633@coredump.intra.peff.net>
In-Reply-To
<11935db10701050229h215416afk9ac2008c4f176b36@mail.gmail.com>
On Fri, Jan 05, 2007 at 04:29:59AM -0600, Jonathan Trites wrote:
> Forgive my brain damage, but how does one go about deleting branches
> in cogito? I've been up and down google and the mailing lists and I
> can't find any mention of how one does this.
I haven't used cogito in a while, but IIRC, there isn't an automated way
to do it. You can always
  rm .git/branches/branch_name
Or did you mean a local branch (see below)?
> I see there are commands cg-switch, cg-branch-add, cg-branch-chg, and
> cg-branch-ls, but nowhere do I see a "cg-branch-rm" command or
> equivalent cg-switch command line option.

cg-switch works on local branches ('branches' in git, or 'heads', or lines of development). Cogito remote branches (just 'branches' in cogito, similar to 'remotes' in git) are handled by cg-branch-*.

For remote branches, see above. If you want to delete a head or line of development in cogito, I think you will need to use git-branch -d.

Hope that answers your question.
-Peff
Previous: Jonathan Trites
Message 2 of 2 in “Deleting branches in cogito”
  1. Jonathan TritesJan 5, 2007
  2. Jeff KingJan 9, 2007

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.