Git revert

I’ve finally figured out what the rough equivalent to a revert in subversion is. It’s a git reset --hard. It’s not quite equivalent but it’s probably what I want most of the time I want to clear out my working directory of temporary changes.