When we make a mistake and already pushed to the remote repo, we can either fix our mistake and push it again or revert and delete the history. Here's how to achieve both. History remains Alternative 1: Fix and commit again No need to … Keep on reading