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

Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch

From
XMXavier Maillard <zedek@gnu.org>
Date
Mar 29, 2007, 10:44 UTC
Message-ID
<200703291044.l2TAig5M021533@localhost.localdomain>
In-Reply-To
<7vr6r879zp.fsf@assigned-by-dhcp.cox.net>
   This allows you to detach your HEAD and place it at such a
       $ git checkout -d master

Hum, excuse my ignorance, but can you explain what exactly could be a use case of this ?

Xavier
Previous: Junio C HamanoNext: Alex Riesen
Message 2 of 8 in “checkout -d: explicitly detach HEAD even when switching to the tip of a branch”
  1. checkout -d: explicitly detach HEAD even when switching to the tip of a branchJunio C Hamano, Mar 29, 2007
  2. Xavier MaillardMar 29, 2007
  3. Alex RiesenMar 29, 2007
  4. Xavier MaillardMar 29, 2007
  5. Jakub NarebskiMar 31, 2007
  6. Xavier MaillardMar 31, 2007
  7. Junio C HamanoApr 4, 2007
  8. Linus TorvaldsApr 4, 2007

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.