Undo last local (not pushed) commit: $ git reset --soft HEAD~1 Tags: git Post author:Leonid V. Fedorenchik Post published:2015-09-22 Post category:Tooltips Post comments:0 Comments Read more articles Previous PostDisable automounting in GNOME Next Postgit show diff of stash You Might Also Like sshfs mount with full root access 2015-06-16 Creating core dump files in Linux 2015-04-26 SOCKS proxy server with SSH connection 2015-04-19 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment. Δ