From: Martin Langhoff <martin.langhoff@gmail.com>
To: Harry Putnam <reader@newsguy.com>
Cc: git@vger.kernel.org
Subject: Re: Retrieve a specific file from some revision.
Date: Tue, 16 Mar 2010 17:59:36 -0400 [thread overview]
Message-ID: <46a038f91003161459t58c8df59q2b7fa18c1fccba88@mail.gmail.com> (raw)
In-Reply-To: <87vdcwxfit.fsf@newsguy.com>
On Tue, Mar 16, 2010 at 2:55 PM, Harry Putnam <reader@newsguy.com> wrote:
> How would I do that in bazaar/git?
The easiests, most convenient is:
git show <revision>:path/to/file.c
git show can do various other things -- like show you a commit.
You should really follow a tutorial for git (and/or bazaar) to get
"the basics". Any good tutorial will cover git show (but may not touch
this specific point) and a few others.
It is safe to say that bazaar, git and hg have a good command for
something clear and basic like this. Asking these questions probably
won't help you decide what you want to decide ;-) --
m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
next prev parent reply other threads:[~2010-03-16 22:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 18:55 Retrieve a specific file from some revision Harry Putnam
2010-03-16 21:59 ` Martin Langhoff [this message]
2010-03-16 22:48 ` Ben Finney
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=46a038f91003161459t58c8df59q2b7fa18c1fccba88@mail.gmail.com \
--to=martin.langhoff@gmail.com \
--cc=git@vger.kernel.org \
--cc=reader@newsguy.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).