I cloned a git repo and then started playing around in its master branch. After a while, I want to ignore the changes I just made (without committing them), and switch to a diff
Option 1
git checkout -f gh-pages
Option 2
git reset --hard # beware: don't make that a habit git checkout gh-pages