Created
June 24, 2016 08:52
-
-
Save zealfire/9513ca32d2534e15d85c1ca0525cde5b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Use git log --diff-filter=D --summary to get all the commits which have deleted files and the files deleted; | |
Use git checkout $commit~1 filename to restore the deleted file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment