I've got a master branch and someone did a few changes in it which I don't want. Is it possible to undo the changes without committing?
Current status:
git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: bazinga.php
modified: bazinga2.php
no changes added to commit (use "git add" and/or "git commit -a")
So basically revert to the old bazinga/bazinga2 files.