Without changing which commit I have checked out, how can I set my entire working directory to a different commit?
In mercurial, I would do this with
hg revert -r [commit] --all
git checkout with a path; e.g. '.' for the complete actual working directory:
git checkout <commit-id> -- .