Re: Restoring files from old commits
- From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
- Date
- Aug 15, 2007, 18:27 UTC
- Message-ID
- <20070815182709.GC1644@informatik.uni-freiburg.de>
- In-Reply-To
- <6bcc356f0708151022v6cb8c348nb19690c81e489c5d@mail.gmail.com>
Hello Nikodemus,
Nikodemus Siivola wrote:
> So what I'd like is something like > > git cat-path <commit> <path-in-the-tree-referenced-by-that-commit>
Try:
git show <commit>:<path-in-the-tree-referenced-by-that-commit>
Best regards Uwe
-- Uwe Kleine-König http://www.google.com/search?q=half+a+cup+in+teaspoons