uncommit

workflow committing

Undo the latest commit, removing the commit from history and leaving the changes from the commit unstaged.

Usage: git uncommit

CLI Command

git config --global alias.uncommit "reset --mixed HEAD~1"

.gitconfig Snippet

[alias]
  uncommit = reset --mixed HEAD~1