From: Jike Song Date: Tue, 06 Jan 2009 06:17:16 GMT Subject: Re: How make "git checkout " *not* alter index? Message-ID: In-Reply-To: <20090106051852.GA3278@seberino.org> On Tue, Jan 6, 2009 at 1:18 PM, wrote: > I want to pull an old version of a file into my local directory and make it > appear like work I haven't added to index yet... > > > So how modify > > > git checkout > > to do this? I have a stupid way to do this: $ git show v2.6.12:Makefile > Makefile $ git diff --cached /* no outputs */ Ugly but seems work. -- Thanks, Jike