allow you delete commit and doesn't remove your current files:
git reset --soft Id commit
then use forcefully push the local changes:
git push -f origin nameBranch
allow you delete commit and doesn't remove your current files:
git reset --soft Id commit
then use forcefully push the local changes:
git push -f origin nameBranch