git delete last commit and keep changes code example
Example 1: how discharge changes e recover last commit git
git reset HEAD --hard
Example 2: how discharge changes e recover last commit git
git clean -fd
git reset HEAD --hard
git clean -fd