* Deleting branches in cogito
@ 2007-01-05 10:29 Jonathan Trites
2007-01-09 15:16 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Trites @ 2007-01-05 10:29 UTC (permalink / raw)
To: git
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 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.
In the git commands I see "git-branch -d", and maybe this is the
command I am looking for, but is there a "native" cogito command to
delete branches?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Deleting branches in cogito
2007-01-05 10:29 Deleting branches in cogito Jonathan Trites
@ 2007-01-09 15:16 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2007-01-09 15:16 UTC (permalink / raw)
To: Jonathan Trites; +Cc: git
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-09 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-05 10:29 Deleting branches in cogito Jonathan Trites
2007-01-09 15:16 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).