$ git reset --hard
This will revert all changes you made in your working tree back to the
HEAD. It will delete your changes made so far. To revert only a single
file, use
$ git checkout -- path/to/file
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html