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
git add -A git stash
this will clear all the changes you made (Only those that are not commited)