Sunday, August 27, 2017

Discarding unstaged changes in Git

To discard all unstaged changes, use:
git checkout -- .