Category Archives: Git

Undoing a Commit in Git

If you have committed the wrong files accidentally to Git. However you did not push the commit to the server yet. Then there are various ways that you can undo those commits from the local repository. We will dicuss four different methods you can use to undo a commit in this article. Scenario Setup Let’s assume you have… Read More »