From: Andreas Ericsson Date: Mon, 28 Nov 2005 23:02:04 GMT Subject: Re: 'git commit' ignoring args? Message-ID: <438B8C6C.8030407@op5.se> In-Reply-To: <438B2F40.6070801@pobox.com> Jeff Garzik wrote: > > With the latest git as of this writing, executing > > git commit Makefile stylesheet.xsl > > results in an attempt to commit the above files, and also another file > book.xml. book.xml is modified, but I do not wish to check it in at > this time, so I did not list it as an argument to 'git commit'. > The index has been updated to match the file on disk somehow (perhaps you did 'git add book.xml'?). You can un-mark it with git reset HEAD which is equivalent to git read-tree --reset HEAD so long as you're operating on HEAD. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231