git - How do you see which commit deleted a file from the repo? -
this question has answer here:
- find when file deleted in git 4 answers
since no longer in repository, can't do
git log <filename>
i can run
git log --diff-filter='d|r' <directory_that_contained_it>
but information , grepping not seem list file i'm looking for.
git log -1 --stat -- <path/to/file>
i put --stat
in there can verify file deleted.
Comments
Post a Comment