Undoing the Last Commit in Git that Wasn't Pushed Via: git reset --soft HEAD~1 Share me 🙋!TweetWhatsApp You might also like some of these