rebase vs reset vs revert? I just want to roll back : <p>Let's say I make a number of commits, let's call them 1, 2, 3, 4, 5, and 6 (hashes).</p>

<p>Let's say I'm on a commit with hash 6. All I want to do is go back to hash 3, make it so the state of my codebase was as it was when I commited to hash 3 as if the other commit's never happened.</p>

<p>When I look at answers like <a href="https://stackoverflow.com/questions/1895059/revert-to-a-commit-by-a-sha-hash-in-git">this</a>, it seems like everybody has a different answer. <code>reset</code>, <code>revert</code>, <code>rebase</code>? I'm not even sure I know the difference between those three words in english.</p>

<p>I just want to be at a previous commit. Can someone tell me how to do this?</p>
