Last active
April 9, 2018 04:49
-
-
Save boywijnmaalen/ee543f0c14f9044247a32d30d1f722c6 to your computer and use it in GitHub Desktop.
Recover deleted files from 'git rm' #CLI #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
# Recover deleted files from 'git rm' | |
$ git fsck --lost-found --unreachable | |
# PS. Recovered files are in '.git/lost-found/other' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment