{"thread":{"id":"6232","subject":"Deleting branches in cogito","startedAt":"2007-01-05T10:29:59Z","lastAt":"2007-01-09T15:16:11Z","messageCount":2,"participants":["Jonathan Trites","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"30872","messageId":"11935db10701050229h215416afk9ac2008c4f176b36@mail.gmail.com","threadId":"6232","inReplyTo":null,"subject":"Deleting branches in cogito","fromName":"Jonathan Trites","fromEmail":"tritesnikov@gmail.com","sentAt":"2007-01-05T10:29:59Z","receivedAt":"2007-01-05T10:29:59Z","isPatch":false,"sender":{"key":"tritesnikov@gmail.com","avatar":null},"body":"Forgive my brain damage, but how does one go about deleting branches\nin cogito? I've been up and down google and the mailing lists and I\ncan't find any mention of how one does this.\n\nI see there are commands cg-switch, cg-branch-add, cg-branch-chg, and\ncg-branch-ls, but nowhere do I see a \"cg-branch-rm\" command or\nequivalent cg-switch command line option.\n\nIn the git commands I see \"git-branch -d\", and maybe this is the\ncommand I am looking for, but is there a \"native\" cogito command to\ndelete branches?\n"},{"id":"31250","messageId":"20070109151611.GD10633@coredump.intra.peff.net","threadId":"6232","inReplyTo":"11935db10701050229h215416afk9ac2008c4f176b36@mail.gmail.com","subject":"Re: Deleting branches in cogito","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2007-01-09T15:16:11Z","receivedAt":"2007-01-09T15:16:11Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Fri, Jan 05, 2007 at 04:29:59AM -0600, Jonathan Trites wrote:\n\n> Forgive my brain damage, but how does one go about deleting branches\n> in cogito? I've been up and down google and the mailing lists and I\n> can't find any mention of how one does this.\n\nI haven't used cogito in a while, but IIRC, there isn't an automated way\nto do it. You can always\n  rm .git/branches/branch_name\nOr did you mean a local branch (see below)?\n\n> I see there are commands cg-switch, cg-branch-add, cg-branch-chg, and\n> cg-branch-ls, but nowhere do I see a \"cg-branch-rm\" command or\n> equivalent cg-switch command line option.\n\ncg-switch works on local branches ('branches' in git, or 'heads', or\nlines of development). Cogito remote branches (just 'branches' in\ncogito, similar to 'remotes' in git) are handled by cg-branch-*.\n\nFor remote branches, see above.  If you want to delete a head or line of\ndevelopment in cogito, I think you will need to use git-branch -d.\n\nHope that answers your question.\n\n-Peff\n"}]}