git get rid of changes since last commit 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