Created
December 2, 2019 16:48
-
-
Save chrisgfortes/8080bac9d6897d2624eb26f0e9b5b344 to your computer and use it in GitHub Desktop.
Find when a file was deleted in Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You can find the last commit which deleted file as follows: | |
git rev-list -n 1 HEAD -- [file_path] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment