git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Riesen <raa.lkml@gmail.com>
To: "Kenneth P. Turvey" <kt-usenet@squeakydolphin.com>
Cc: git@vger.kernel.org
Subject: Re: Simple problem
Date: Mon, 28 Apr 2008 19:47:51 +0200	[thread overview]
Message-ID: <20080428174751.GA6710@steel.home> (raw)
In-Reply-To: <fv4u49$oks$1@ger.gmane.org>

Kenneth P. Turvey, Mon, Apr 28, 2008 18:31:05 +0200:
> I ran into an issue earlier today that I didn't know how to easily solve 
> in git.  I'm sure it is easy to handle, but I wasn't sure how.  
> 
> I removed a file and then realized I'd hit the wrong one.  So all I 
> wanted to do was to get the file back the way it was in the last commit.  
> 
> Basically I wanted something similar to:
> 
> svn update myfile
> 

git checkout HEAD filename

but mostly just "git checkout filename"

      parent reply	other threads:[~2008-04-28 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 16:31 Simple problem Kenneth P. Turvey
2008-04-28 16:35 ` Bill Lear
2008-04-28 16:49   ` Björn Steinbrink
2008-04-28 18:58     ` Kenneth P. Turvey
2008-04-28 17:47 ` Alex Riesen [this message]

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=20080428174751.GA6710@steel.home \
    --to=raa.lkml@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kt-usenet@squeakydolphin.com \
    /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).