Undoing the Last Commit in Git that Wasn't Pushed Via: git reset --soft HEAD~1 You might also like some of these
Ng Boo Jiun liked this on Facebook.