Re: Restoring files from old commits
- From
Salikh Zakirov <salikh@gmail.com>
- Date
- Aug 15, 2007, 17:28 UTC
- Message-ID
- <f9vd4l$dj6$1@sea.gmane.org>
- In-Reply-To
- <6bcc356f0708151022v6cb8c348nb19690c81e489c5d@mail.gmail.com>
Nikodemus Siivola пишет:
Show 5 quoted lines
> So what I'd like is something like > > git cat-path <commit> <path-in-the-tree-referenced-by-that-commit> > > Does this exist, or is this scripting time?
Have you tried
git show <commit>:<path>
?