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

Re: [PATCH] prevent checkout from creating branches that start with a dash

From
Bart Trojanowski <bart@jukie.net>
Date
Jul 2, 2008, 16:34 UTC
Message-ID
<20080702163431.GI26300@jukie.net>
In-Reply-To
<486BA0DD.5030608@viscovery.net>
* Johannes Sixt <j.sixt@viscovery.net> [080702 12:00]:
Show 8 quoted lines
> Bart Trojanowski schrieb:
> > It was previously possible to create a -f branch with git-checkout, which
> > could not be used or deleted.
> > 
> >         $ git checkout -b -f master
> >         Switched to a new branch "-f"
> 
> "-f" *is* a valid branch name and can be used and deleted:
Thanks, that I didn't know.
-Bart
-- 
				WebSig: http://www.jukie.net/~bart/sig/
Previous: Johannes Sixt
Message 4 of 4 in “prevent checkout from creating branches that start with a dash”
  1. prevent checkout from creating branches that start with a dashBart Trojanowski, Jul 2, 2008
  2. Brian GernhardtJul 2, 2008
  3. Johannes SixtJul 2, 2008
  4. Bart TrojanowskiJul 2, 2008

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.