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

newbie question

From
AKAlex K <spaceoutlet@gmail.com>
Date
Jul 3, 2009, 18:39 UTC
Message-ID
<e4a904790907031139rc61c2e0t6b9dbbc0c3dc379e@mail.gmail.com>
Hello,
I would think the following simple pattern would be possible:

Create two branches A and B. Switch to A, modify some files, do not commit to A, switch to B. Now B should not show any of the changes performed to A? However a git status while on B does show that the files on A have been modified. Is there something I am missing?

Thank you,
Alex
Next: dloewenherz@gmail.com
Message 1 of 5 in “newbie question”
  1. Alex KJul 3, 2009
  2. dloewenherz@gmail.comJul 3, 2009
  3. Junio C HamanoJul 3, 2009
  4. Sitaram ChamartyJul 4, 2009
  5. Michael J GruberJul 6, 2009

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.