Re: Getting a file revision
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2007, 00:52 UTC
- Message-ID
- <7vir7ccpmj.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7ac1e90c0708181742w531dab4asc7c90835cc56e8a1@mail.gmail.com>
"Bahadir Balban" <bahadir.balban@gmail.com> writes:
> This might sound like a novice question but anyway: I sometimes have a > need to quickly recover an old revision of a file just to check > something or copy some code from it.
$ git show -p $commit:$path >$path.old-version