Try Millefeuille

Git Undo Last Commit

published: 2022/05/25
category: dev
tags: git
$ git reset --soft head~1

This command deletes the last commit and leaves everything in staged.