Re: Can I checkout a single file without altering index?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 12, 2010, 15:39 UTC
- Message-ID
- <AANLkTinnYEnCwpTh45N69n73JQm=ndXH-SUJ5b1piUYv@mail.gmail.com>
- In-Reply-To
- <loom.20101012T114900-532@post.gmane.org>
On Tue, Oct 12, 2010 at 12:03, Christian Halstrick <christian.halstrick@gmail.com> wrote:
> Can I checkout a certain file to a specific revision without also adding this > content to the index? I only want to alter the working-tree - no modification of > index or HEAD needed.
"git show <revision-specification>:path/name > path/name" ?