git log
Table of Contents
Find deleted files howto
git log --all --full-history -- **/thefile.*
git log --all --full-history -- <path-to-file> # if you know the exact path
# Reveal the content
git show <SHA> -- <path-to-file>
# Note '^', checking out from the previous commit.
# There won't exist the file in <SHA> because it has been deleted.
git checkout <SHA>^ -- <path-to-file>