title: Invalid Upstream Error while Modifying a Specified Git Commit (Not HEAD)
body: <p>I am trying to learn how to modify a specified commit (fe4e3fc) that is not HEAD by following <a href="https://stackoverflow.com/questions/1186535/how-to-modify-a-specified-commit">@ZelluX answer</a> . However, I encountered the following error</p>
  
  <pre><code>$ git log --oneline
  b18762f Added Hey Hey
  aa9c57d Put Hey in test
  fe4e3fc Initial Test
  $ git rebase --interactive fe4e3fc^
  fatal: Needed a single revision
  invalid upstream fe4e3fc^
  $
  </code></pre>
  
  <p>I noticed that he had the <code>^</code> after the hash in his answer. Any assistance helping me understand how to edit a commit that is not HEAD will be appreciated. Thanks in advance.  </p>