- Use git ```log --diff-filter=D --summary``` to get all the commits which have deleted files and the files deleted - ```git checkout $commit~1 filename```
Use git
log --diff-filter=D --summaryto get all the commits which have deleted files and the files deletedgit checkout $commit~1 filename