title: Reverting to a specific commit based on commit id with Git?
body: <p>With <code>git log</code>, I get a list of commits that I have made so far. </p>
  
  <pre><code>commit f5c5cac0033439c17ebf905d4391dc0705dbd5f1
  Author: prosseek 
  Date:   Fri Sep 3 14:36:59 2010 -0500
  
      Added and modified the files.
  
  commit c14809fafb08b9e96ff2879999ba8c807d10fb07
  Author: prosseek 
  Date:   Tue Aug 31 08:59:32 2010 -0500
  
      Just simple test for core.editor.
  
  ... etc ...
  </code></pre>
  
  <ul>
  <li><p>How can I revert it back to a specific commit? For example, what should I do if I want to go back to <code>commit c14809fafb08b9e96ff2879999ba8c807d10fb07</code>?</p></li>
  <li><p>Is there any other/better way to go back to a specific commit with Git? For example, can I put some label of each commit to get it back with the label?</p></li>
  </ul>