'git lfs cannot discard file changes (encountered files that should have been pointers)
I have a file using git lfs, but even without me doing anything, it just shows up on git as having changes. I am unable to discard these changes, whether through the VS Code UI, through git reset, or git restore.
Git keeps telling me "Encountered 1 file(s) that should have been pointers, but weren't:"
I am aware of the thread at Git error: Encountered 7 file(s) that should have been pointers, but weren't, but I have tried all the solutions there and none of them helped.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
