Created
April 1, 2020 07:52
-
-
Save fosemberg/6418787a2f28eca4c28239e721899fab to your computer and use it in GitHub Desktop.
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
git fsck --full --no-reflogs --unreachable --lost-found | grep blob | cut -d\ -f3 | while read in; do printf "blob: $in\n"; git cat-file -p $in; printf "\n--------------------------------\n"; done > recover.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment