git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Harris <git@peter.is-a-geek.org>
To: Aaron Gray <aaronngray.lists@googlemail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: reverting a file or files back to repository copy
Date: Sat, 2 May 2009 11:25:37 -0400	[thread overview]
Message-ID: <eaa105840905020825v561f610dj99b1b00581bf1b3d@mail.gmail.com> (raw)
In-Reply-To: <137A749092D040488A7F25B4CA5ED1DC@HPLAPTOP>

On Sat, May 2, 2009 at 10:54 AM, Aaron Gray wrote:
> How do I do the eqivalent of an 'svn revert' on a single file, on a
> directory of files, or on all files ?

git checkout <files>

Peter Harris

  reply	other threads:[~2009-05-02 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-02 14:54 reverting a file or files back to repository copy Aaron Gray
2009-05-02 15:25 ` Peter Harris [this message]
2009-05-02 15:33   ` Markus Heidelberg

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=eaa105840905020825v561f610dj99b1b00581bf1b3d@mail.gmail.com \
    --to=git@peter.is-a-geek.org \
    --cc=aaronngray.lists@googlemail.com \
    --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).