Git:直前の commit を取り消す方法

commit だけして push する前にコミット内容を間違えた時などに。

Gitshellで reset コマンドを打つ。

git reset --soft HEAD^