discard changes and get to last commit git 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