I made a commit 1st yesterday and second commit today in single PR .
but later I found that I added extra file in first commit and want to delete.
So I revert commit using following command
git reset --soft HEAD~2
and
git rm --cached apk/local_setting.py
but I want to ask that how to push those file back to remote without changing previous commits?