SyntaxFix
Write A Post
Hire A Developer
Questions
Here is my solution in windows
git filter-branch --tree-filter "rm -f 'filedir/filename'" HEAD git push --force
git filter-branch --tree-filter "rm -f 'filedir/filename'" HEAD
git push --force
make sure that the path is correct otherwise it won't work
I hope it helps