Basically, I have an open pull request that I want to fix and at the same time I want to make 1 commit that contains 2 features into 2 seperate commits.
Github repos
When faced with that problem, a force push has worked for me:
git push --force origin fix