Assuming the commit you added the file to is the most recent:
git reset
git push
, rebase, . git rebase -i xxx, xxx , . , "" . , . , pick edit (, ), git rebase --continue
, , , rebase . , , .
git-filter-branch, , GitHub:
git filter-branch --index-filter 'git rm --cached --ignore-unmatch NAME_OF_THE_FILE' --prune-empty -- --all
, git push --force , ( , - ). github, , .