Instantly share code, notes, and snippets.
The commands to discard all local changes in Git are:
git reset –hard git clean -fxd