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

Fwd: Issue with Git Branch

From
JWJude Guan Wang <guan@clicktherapeutics.com>
Date
Jan 13, 2020, 00:01 UTC
Message-ID
<29742805-4992-47E6-9889-F55F5EFBBFF1@clicktherapeutics.com>
In-Reply-To
<56F9DC91-740F-47C7-9C2A-B6B1EC3A12B6@clicktherapeutics.com>
Hi, all:
	I noticed something weird with my git command. In my local environment I seem to have a branch named `-D`:
	And I don’t remember how I was able to create a branch like that. I tried to do git branch -D/-d this branch but seems not working. I’m assuming the branch infos were kept in .git folder so my question is if there’s anyway I could remove this invalid branch from that folder? My git version is 2.24.0. Thanks for any help in advance.
Next: Taylor Blau
Message 1 of 5 in “Fwd: Issue with Git Branch”
  1. Jude Guan WangJan 13, 2020
  2. Taylor BlauJan 13, 2020
  3. SZEDER GáborJan 13, 2020
  4. Taylor BlauJan 13, 2020
  5. SZEDER GáborJan 13, 2020

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.