finding the commit that deleted a file
- From
- Christoph Duelli <duelli@melosgmbh.de>
- Date
- Apr 30, 2009, 07:31 UTC
- Message-ID
- <49F953BC.7070303@melosgmbh.de>
Following scenario: Some file x was deleted (or renamed, but the --follow option does not succeed) some 100 commits ago. Now, I would like to check the 'lost' contents for some reason.
Is it possible to find out when a given file (path) was deleted? (And then, with the obtained SHA1, use gitk or some such tool to inspect this file.)
Thank you.
Best regards
-- Christoph Duelli