git - How do you see which commit deleted a file from the repo? -


this question has answer here:

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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -