title: What is the git equivalent to hg update to get a specific historical version?
body: <p>I thought it was <code>git reset --hard</code> but in addition to reverting to an old version that deleted all my local changes since I had last pushed to the server! Now I have to redo an hour's worth of work... thank God I pushed last night or I'd be screwed!</p>