0

I found a reference on a public repository for a file that is now no longer in master.

What is the fastest way to find the commit that first (or last) contained that file?

Paul Razvan Berg
  • 16,949
  • 9
  • 76
  • 114
  • https://stackoverflow.com/search?q=%5Bgit%5D+find+file – phd Jun 25 '20 at 14:10
  • 1
    This question was answered previously; https://stackoverflow.com/questions/6839398/find-when-a-file-was-deleted-in-git ; in short use `git log --full-history -- myfile` – Konrad 'Zegis' Jun 25 '20 at 14:10

0 Answers0