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

Re: My first git success [not quite]

From
Wwalt <wa1ter@myrealbox.com>
Date
Jan 14, 2006, 20:41 UTC
Message-ID
<dqbnl1$3si$1@sea.gmane.org>
In-Reply-To
<Pine.LNX.4.64.0601141117120.13339@g5.osdl.org>

Linus Torvalds wrote: [...]

> Now, what happens is that when you change branches with a dirty tree, the 
> "git checkout" will do one of two things:
> 
>  - if the dirty files are _identical_ in both branches...

I'm sorry to be quibbling over semantics, truly I am! But here is my confusion: if modified-but-uncommitted (hence dirty) files are not associated with *any* branch, then how could 'dirty' files be 'in' both branches (or 'in' any branch at all)?

Thanks for your continued patience with me! I hate to distract you from your real work -- I can only hope that others are learning as much from your answers as I am.

Previous: Linus TorvaldsNext: Junio C Hamano
Message 12 of 15 in “My first git success”
  1. waltJan 13, 2006
  2. Linus TorvaldsJan 13, 2006
  3. Randal L. SchwartzJan 13, 2006
  4. Junio C HamanoJan 13, 2006
  5. Peter EriksenJan 13, 2006
  6. waltJan 14, 2006
  7. seanJan 14, 2006
  8. waltJan 14, 2006
  9. Randal L. SchwartzJan 14, 2006
  10. Junio C HamanoJan 14, 2006
  11. Linus TorvaldsJan 14, 2006
  12. waltJan 14, 2006
  13. Junio C HamanoJan 14, 2006
  14. Linus TorvaldsJan 14, 2006
  15. Junio C HamanoJan 15, 2006

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.