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

Re: A bug or unhandled case

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 11, 2013, 16:53 UTC
Message-ID
<7vk3pdaned.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CABB6UqHgcsx9oK2GHhmwpuhv+T3aMAJk_udw8enkGB3OutzbNg@mail.gmail.com>
Michał Janiszewski <janisozaur@gmail.com> writes:
> Hmm, indeed it works. Sorry for the confusion then (and a bit mistaken
> commands, but you got them correct).
> I wasn't aware of the -r option.

I think what tripped you was that "git branch" deals with branch names, and not refnames (which is the underlying but lower level concept). "git branch -d refs/heads/master" is not a way to remove your local mastar branch.

Previous: Michał Janiszewski
Message 4 of 4 in “A bug or unhandled case”
  1. Michał JaniszewskiMar 11, 2013
  2. Junio C HamanoMar 11, 2013
  3. Michał JaniszewskiMar 11, 2013
  4. Junio C HamanoMar 11, 2013

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.