Re: Retrieve a specific file from some revision.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 16, 2010 at 2:55 PM, Harry Putnam <reader@xxxxxxxxxxx> 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@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]