From: Jeff King Date: Fri, 15 Oct 2010 18:55:39 GMT Subject: Re: Can I checkout a single file without altering index? Message-ID: <20101015185539.GA30380@sigill.intra.peff.net> In-Reply-To: <20101015184302.GA22990@burratino> On Fri, Oct 15, 2010 at 01:43:02PM -0500, Jonathan Nieder wrote: > Neal Kreitzinger wrote: > > > However, there is an option in git-commit to copy files directly from the > > working-tree to the object-store by totally bypassing the index > > What option is this? I thought "git commit --include" added content > to the index. git commit -o|--only, which is the same as "git commit ". Of course it still uses an index, to create the tree, but it uses a temporary one based on HEAD instead of the current index contents. -Peff