I've got this problem:
A team member pushed a corrupted file to the repo on azure devops (on premise), we found the corrupted file because navigating the commits on devops, that one was impossible to open or download, also if we try to download the repo as zip the operation was failing.
We have deleted the file from the repo on devops and then pushed another (good) one, after this operation it is possible to download the repo as zip BUT everyone that have the repo before the push containing the corrupted file cannot fetch, pull or clone the repository (probably because the corrupted file still in history ??).
From my local repo, that is before the push, i tryied to remove the file with "git filter-branch" but it seems that the operation found nothing, probably because it works locally (?) So I am in this situation, I can't pull and I can't clone but if i cannot get the lastest version i cannot remove the file too. Someone have any hint to suggest that does not imply a revert before the push? Thank you
Explanation simple: I need to remove a corrupted file from a repository but i can't clone it because of the corrupted file, Is there any method that does not imply a revert before the push that include the corrupted file?
PS: clone fail with this
remote: Azure Repos
remote: Found 35611 objects to send. (559 ms)
error: inflate: data stream error (incorrect header check)iB/s
fatal: pack has bad object at offset 326294050: inflate returned -3
fatal: fetch-pack: invalid index-pack output