title: Git cancel a revert
body: <p>In git let say I commit A and B</p>
  
  <pre><code>A---[B]
  </code></pre>
  
  <p>But then I revert with</p>
  
  <pre><code>git revert HEAD
  </code></pre>
  
  <p>So I am there now:</p>
  
  <pre><code>[A]---B
  </code></pre>
  
  <p>How do I cancel my revert so that I can go back to B?</p>