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

Re: Linux 2.6.12-rc3

From
PMPavel Machek <pavel@ucw.cz>
Date
Apr 23, 2005, 21:31 UTC
Message-ID
<20050423213143.GA4978@elf.ucw.cz>
In-Reply-To
<20050421190956.GA7443@pasky.ji.cz>
Hi!
Show 28 quoted lines
> > > > Well, not sure.
> > > > 
> > > > I did 
> > > > 
> > > > git track linus
> > > > git cancel
> > > > 
> > > > but Makefile still contains -rc2. (Is "git cancel" right way to check
> > > > out the tree?)
> > > 
> > > No. git cancel does what it says - cancels your local changes to the
> > > working tree. git track will only set that next time you pull from
> > > linus, the changes will be automatically merged. (Note that this will
> > > change with the big UI change.)
> > 
> > Is there way to say "forget those changes in my repository, I want
> > just plain vanilla" without rm -rf?
> 
> git cancel will give you "plain last commit". If you need plain vanilla,
> the "hard way" now is to just do
> 
> 	commit-id >.git/HEAD
> 
> but your current HEAD will be lost forever. Or do
> 
> 	git fork vanilla ~/vanilla linus
> 
> and you will have the vanilla tree tracking linus in ~/vanilla.

Yep, symlinked in nice way. Good trap; it cought me ;-). (I of course deleted the original directory).

> I'm not yet sure if we should have some Cogito interface for doing this
> and what its semantics should be.
Perhaps "git init" is right command for this? Running it in non-empty
directory for faster restart after bad problem....
								Pavel
-- 
Boycott Kodak -- for their patent abuse against Java.
Previous: Pavel Machek
Message 5 of 5 in “Re: Linux 2.6.12-rc3”
  1. Petr BaudisApr 21, 2005
  2. Pavel MachekApr 21, 2005
  3. Petr BaudisApr 21, 2005
  4. Pavel MachekApr 21, 2005
  5. Pavel MachekApr 23, 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.