1. Home
  2. Git
  3. Undo last commit
#git

This command will undo the latest commit.

git reset --soft HEAD~1
copy
Full Git cheatsheet
Sitemap Git repository