Desfazendo um Commit

$ git reset
$ git reset --soft
$ git reset --mixed
$ git reset --hard

Last updated