From: Jay Soffian Date: Thu, 26 Feb 2009 07:12:27 GMT Subject: Re: checkout vs reset Message-ID: <76718490902252312h6a08f5a6x972523e7c7e4af16@mail.gmail.com> In-Reply-To: <76718490902252308r474b193yba21b14e14a3baa@mail.gmail.com> On Thu, Feb 26, 2009 at 2:08 AM, Jay Soffian wrote: > Is there any different between the following two commands? > > git reset -- ... > git checkout -- ... > > As far as I can tell from the man pages, they are equivalent. To wit: > both update the index and working copy for the given paths to the > state that they were in in . Doh, answering my own question. reset only touches the index, not the working copy. checkout updates both. j.