dckkgq
Last Updated: February 25, 2016
·
660
· nicolaslazartekaqui

Git - Undo the last commit

git

Assuming you made ​​a wrong commit and want to undo it

$ git commit ...

you can use reset to undo last commit

$ git reset --soft HEAD~

done, now you can fix the changes and commit again.