Thinking aloud. May not endorse after a lot of thought.
If ASI is built or AI fully (not partially) automates software development, this post no longer matters
target audience - anyone directly working on the team of git or github
Main
git lfs sucks. git-filter-branch sucks.
Obviously no one wants to track a full commit history of changes for large files, this is what git lfs aimed to solve forever, unfortunately it sucks.
So far my best solution is whenever a video file gets committed by mistake, then make sure local repo is latest, delete the github repo, make sure .gitignore ignores all video files, then push the local repo to a new github repo.
By default, make sure .gitignore ignores all video files.
I used to think I suck at using git, I'm now much more confident it is git that sucks at this use case. To be clear, I am still a mediocre dev, but I also think git is bad at this use case.
Side note for you guys - I think git add . && git commit -m "$RANDOM" && git push deserves an alias.
Subscribe
Enter Signal username, email address or whatsapp phone number to subscribe. You will receive atmost one update per month.
Alternatively, you can subscribe via RSS, or a third-party service like blogtrottr