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

Re: Simple questions on GIT usage.

From
Andreas Ericsson <ae@op5.se>
Date
Nov 14, 2005, 16:56 UTC
Message-ID
<4378C1AA.9090209@op5.se>
In-Reply-To
<86iruvxk1i.fsf@blue.stonehenge.com>
Randal L. Schwartz wrote:
Show 9 quoted lines
>>>>>>"Andreas" == Andreas Ericsson <ae@op5.se> writes:
> 
> 
> Andreas> man git-branch
> 
> Andreas> It will tell you about its -d and -D options.
> 
> It will?  My manpage has no -d or -D option for git-branch.
> 

Ah. It's the help output that has them. I've submitted a patch to add them to the man-page though, so it should show up soonish.

> And I've been looking for something like that too.  If I want to
> abandon a what-if branch, how do I make sure that the branch and all
> objects are deleted?
> 

git branch -D branchname git prune

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Randal L. SchwartzNext: Franck
Message 4 of 5 in “Simple questions on GIT usage.”
  1. FranckNov 14, 2005
  2. Andreas EricssonNov 14, 2005
  3. Randal L. SchwartzNov 14, 2005
  4. Andreas EricssonNov 14, 2005
  5. FranckNov 14, 2005

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.