Re: Retrieve a specific file from some revision.
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Mar 16, 2010, 21:59 UTC
- Message-ID
- <46a038f91003161459t58c8df59q2b7fa18c1fccba88@mail.gmail.com>
- 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