From: chris@seberino.org
To: git@vger.kernel.org
Subject: How make "git checkout <commit> <file>" *not* alter index?
Date: Mon, 5 Jan 2009 21:18:52 -0800 [thread overview]
Message-ID: <20090106051852.GA3278@seberino.org> (raw)
I want to pull an old version of a file into my local directory and make it
appear like work I haven't added to index yet...
So how modify
git checkout <commit> <file>
to do this?
cs
next reply other threads:[~2009-01-06 5:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-06 5:18 chris [this message]
2009-01-06 6:17 ` How make "git checkout <commit> <file>" *not* alter index? Jike Song
2009-01-06 6:26 ` Junio C Hamano
2009-01-07 6:55 ` chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090106051852.GA3278@seberino.org \
--to=chris@seberino.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).