I read the post: how-do-i-revert-all-local-changes-in-git-managed-project-to-previous-state, which is a very good post / answer, so plus 1's all around.
I understand all the commands that are mentioned, except this one:
git revert ...
The three dots are meant as a placeholder (meaning that you should replace the three dots with an actual argument). They are used as an ellipsis (which is confusing, as
... also has special meaning as a range operator for Git).
The manual page may be helpful:
$ man git-revert NAME git-revert - Revert some existing commits SYNOPSIS git revert [--[no-]edit] [-n] [-m parent-number] [-s] [-S[<keyid>]] <commit>...
git revert expects a
<commit> argument (without the angle brackets). The three dots here indicate that you can also pass more than one