What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-12 19:41:02
how to restore corrupeted git file
8 Step 1: Make a backup of .git (in fact I do this in between every step that changes something, but with a new copy-to name, e.g. .git-old-1, .git-old-2, etc.): cp -a .git .git-old Step 2: Run git fsck --full you will get this error message For examp... Add solution
Best helpers
Ranking is empty