what happens in git when a file is deleted code example
Example 1: git find when file was deleted
git log --full-history -- your_file
Example 2: git deleted file error
$ git reset --hard HEAD~1
git log --full-history -- your_file
$ git reset --hard HEAD~1