Delete a file entirely from the history of commits

I want to delete a file entirely from gitlab from the current and the previous commits. I found this command online and tried that which re-writes the git history. It seems that it worked offline, but I am not sure how to update that on gitlab

git filter-branch --tree-filter ‘rm -f Resources\Video%font%.ttf’ – --all