💻 Software
Corrupted files in Git
Fresh5 days ago
Mar 15, 20265966 viewsConfidence Score0%
0%
Problem
I have recently removed some folders from my git repos history using the following command: Unfortunately I cannot pull anymore from this repos, This is the error set I'm getting:
Error Output
git filter-branch --index-filter 'git rm -r --cached var' -- --all
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Corrupted files in Git
Low Risk
Some kind soul wrote a script to do this automatically (and more thoroughly), but the process to recovery is basically this: Examine the file that reports garbage, with hexdump. You're looking for a part of the file where there's a huge span of zero…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix