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

Re: question git & branches

From
Alex Riesen <raa.lkml@gmail.com>
Date
Aug 29, 2005, 12:15 UTC
Message-ID
<81b0412b050829051514bf02f2@mail.gmail.com>
In-Reply-To
<4312C24E.4000803@candelatech.com>
On 8/29/05, Ben Greear <greearb@candelatech.com> wrote:
Show 5 quoted lines
> I think I'm missing something fundamental though...  I wanted to
> change to the ben_dev_rfcnt branch to build a kernel without my
> additional patch.  git branch ben_dev_rfcnt seems to change
> it fine, but all of the changes for repository 'foo' are also
> still here.

You probably looking for "get reset --hard master", which should bring the working tree in sync with cache, but being new to git myself, I'm not sure.

Previous: Martin LanghoffNext: Linus Torvalds
Message 3 of 7 in “question git & branches”
  1. Ben GreearAug 29, 2005
  2. Martin LanghoffAug 29, 2005
  3. Alex RiesenAug 29, 2005
  4. Linus TorvaldsAug 29, 2005
  5. Ben GreearAug 29, 2005
  6. Linus TorvaldsAug 29, 2005
  7. Jon LoeligerAug 29, 2005

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.