Skip to content

Instantly share code, notes, and snippets.

@boywijnmaalen
Last active April 9, 2018 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boywijnmaalen/ee543f0c14f9044247a32d30d1f722c6 to your computer and use it in GitHub Desktop.
Save boywijnmaalen/ee543f0c14f9044247a32d30d1f722c6 to your computer and use it in GitHub Desktop.
Recover deleted files from 'git rm' #CLI #GIT
# 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