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

Re: `git checkout --orpan` leaves a dirty worktree

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Feb 8, 2013, 20:38 UTC
Message-ID
<CALkWK0mcOjbzCvzc-1W9RYM878Tiy8m20T41SdvqgY=qtE67rA@mail.gmail.com>
In-Reply-To
<CANiSa6hD=zX5=evziqQpXHdjUDEU80t_Du7L+Hpa11ru=5XVNQ@mail.gmail.com>
Martin von Zweigbergk wrote:
> I'm curious what your use case is.

A couple of them off the top of my head: the gh-pages branch in GitHub, restarting a project but keeping the old history around for reference.

Previous: Martin von Zweigbergk
Message 8 of 8 in “`git checkout --orpan` leaves a dirty worktree”
  1. Ramkumar RamachandraFeb 8, 2013
  2. Jonathan NiederFeb 8, 2013
  3. Ramkumar RamachandraFeb 8, 2013
  4. Junio C HamanoFeb 8, 2013
  5. Jens LehmannFeb 10, 2013
  6. Junio C HamanoFeb 8, 2013
  7. Martin von ZweigbergkFeb 8, 2013
  8. Ramkumar RamachandraFeb 8, 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.