To completely remove a file from history, one must rewrite history using tools like git filter-branch, git-filter-repo or by manually rebasing and running garbage collector (with prune) to clear unreachable objects — good luck with that.
I am fairly careful about what files that I add and I have stopped using GitHub. I push locally only. I should learn how to use git better, but I want to completely delete the repo and init just the latest snapshot to remove all of the history.
To completely remove a file from history, one must rewrite history using tools like git filter-branch, git-filter-repo or by manually rebasing and running garbage collector (with prune) to clear unreachable objects — good luck with that.
I am fairly careful about what files that I add and I have stopped using GitHub. I push locally only. I should learn how to use git better, but I want to completely delete the repo and init just the latest snapshot to remove all of the history.