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

Problems switching branches

From
MMaaartin <grajcar1@seznam.cz>
Date
Nov 3, 2010, 02:37 UTC
Message-ID
<loom.20101103T032930-451@post.gmane.org>

I sometimes run in a problem similar to http://kerneltrap.org/mailarchive/git/2008/10/15/3667644/thread There are some ignored files which I want neither track nor throw away; I'm just happy to have them and keep them out of version control.

Unfortunately, there weren't ignored in the old branch. I'd be quite happy with non-destructive switching like "checkout everything what doesn't overwrite an untracked file", so I would end in the old branch with a dirty working tree. Is it possible?

Next: Maaartin
Message 1 of 6 in “Problems switching branches”
  1. MaaartinNov 3, 2010
  2. MaaartinNov 4, 2010
  3. Nguyen Thai Ngoc DuyNov 4, 2010
  4. Maaartin-1Nov 5, 2010
  5. Nguyen Thai Ngoc DuyNov 5, 2010
  6. Neal KreitzingerNov 24, 2010

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.