git-lfs is horrible, at least it was horrible the last few times I tried it out.
More precisely git-lfs is horrible the way it works with Github and its insanely low git-lfs storage and transfer limit.
What ends up happening inevitably is that you add some file to git-lfs that you did not mean to.
Only half sane/insane way to fix this is to just say screw it and start a fresh git repository, hopefully with files that you salvaged before the whole git-lfs mess.
I am quoting Github documentation "To remove Git LFS objects from a repository, delete and recreate the repository."
More precisely git-lfs is horrible the way it works with Github and its insanely low git-lfs storage and transfer limit.
What ends up happening inevitably is that you add some file to git-lfs that you did not mean to.
Only half sane/insane way to fix this is to just say screw it and start a fresh git repository, hopefully with files that you salvaged before the whole git-lfs mess.
I am quoting Github documentation "To remove Git LFS objects from a repository, delete and recreate the repository."
https://docs.github.com/en/repositories/working-with-files/m...
You say that is user error. Of course, users will make errors.
However your version control tools should get out of your way not make your life hell.
EDIT: I felt fine using Subversion combine with Redmine for issues in mid 2000s
Why did we need to go to git for everything when we still end up remoting to/from centralized hubs?