title: I edited readme on GitHub, now how do I squash edits
body: <p>I am a total noob at this.</p>
  
  <p>I have tried all the commands that other's recommended, such as..</p>
  
  <pre><code>git rebase -i HEAD~3 
  git rebase -i
  </code></pre>
  
  <p>Those commands do not work locally, because I made the edits on GitHub, I suppose. Obviously, I need to checkout all the commits first somehow. How do I checkout all the commits and squash them. These are some simple edits to the readme that I did before I realized that I should be doing them locally. </p>
  
  <p>I get a text file that look like this in the editor.</p>
  
  <pre><code>noop
  
  # Rebase 2dff767..2dff767 onto 2dff767
  #
  # Commands:
  #  s, squash = use commit, but meld into previous commit
  </code></pre>
  
  <p><strong>UPDATE:</strong>
  OK, what I did was this</p>
  
  <pre><code>git reset --soft HEAD~3
  git commit
  git push -f
  </code></pre>
  
  <p>Thanks for all the help!</p>