From: "Bryan Richardson" <btricha@gmail.com>
To: git@vger.kernel.org
Subject: Help reverting a particular file
Date: Mon, 11 Aug 2008 17:00:41 -0600 [thread overview]
Message-ID: <3f81a4240808111600u78c5eeefu588a6b1250a0dd02@mail.gmail.com> (raw)
Hello all,
Can anyone tell me how to revert a particular file using git? I
executed a commit, then froze my Rails application to the latest Rails
version. This caused my custom config/boot.rb file to be overwritten
and I would like to restore it without rolling back to the previous
commit (which would roll back the rails freeze). In general I need to
know how to do this anyway. :)
Please help!
--
Thanks!
Bryan
next reply other threads:[~2008-08-11 23:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-11 23:00 Bryan Richardson [this message]
2008-08-11 23:33 ` Help reverting a particular file Eric Raible
2008-08-12 6:15 ` Alex Riesen
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=3f81a4240808111600u78c5eeefu588a6b1250a0dd02@mail.gmail.com \
--to=btricha@gmail.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).