Git undo last commit


Warning: Undefined array key "socialize_RedditWidget" in /home/phpacd/websites/shkodenko.com/wp-content/plugins/socialize/frontend/socialize-services.php on line 166

To undo last commit in git you can use the following command below:


$ git reset HEAD~