From: Neal Kreitzinger Date: Fri, 15 Oct 2010 18:57:46 GMT Subject: Re: Can I checkout a single file without altering index? Message-ID: In-Reply-To: <20101015184302.GA22990@burratino> "Jonathan Nieder" wrote in message news:20101015184302.GA22990@burratino... > Hi Neal, > > 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. >From the git-commit manpage (1.7.1.2): "3. by listing files as arguments to the commit command, in which case the commit will ignore changes staged in the index, and instead record the current content of the listed files (which must already be known to git); " (I haven't tried it myself because to me the index is a key technology of git so I'm not sure why I would want to bypass it.) v/r, Neal