From: Junio C Hamano Date: Sun, 19 Aug 2007 00:52:20 GMT Subject: Re: Getting a file revision Message-ID: <7vir7ccpmj.fsf@gitster.siamese.dyndns.org> In-Reply-To: <7ac1e90c0708181742w531dab4asc7c90835cc56e8a1@mail.gmail.com> "Bahadir Balban" 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