title: Why git rebase doesn't show commits I want to squash?
body: <p>I'm getting ready to initiate a pull request on a branch I'm working on.  On github, I see that I'm 5 commits ahead of master, so I'd like to squash my commits into one. I run a git log to see what the previous commits are:     </p>
  
  <pre><code>git log --oneline
  
  4363273 Updated Order_Entry with bulk UPDATE command
  e7e0c64 Updated Order Entry module and Orders Schema
  2cff23e Merge branch 'order_schema'
  104b2ce Orders Schema
  f7d57cf Order Entry updated to handle and log responses from LC
  afa1b7b Merge pull request #18 from project/bugfix/mockvenue
  4b2c8d8 Return correct string in mock venue API
  </code></pre>
  
  <p>Now I think I want to squash those top 5 commits listed above (4363273-f7d57cf).  So I then run:</p>
  
  <pre><code>git rebase -i HEAD~5
  
  4363273 Updated Order_Entry with bulk UPDATE command
  pick 44768b2 Add script to run simulation on a strategy
  pick f82ec8d Implement mock venue
  pick f7d57cf Order Entry updated to handle and log responses from LC
  pick 4b2c8d8 Return correct string in mock venue API
  pick 104b2ce Orders Schema
  pick 4363273 Updated Order_Entry with bulk UPDATE command
  </code></pre>
  
  <p>How come the list of commits shown after running git rebase doesn't match the first 5 commits when I run git log.  Particularly, why do e7e0c64 and 2cff23e appear in git log but not git rebase?</p>
  
  <pre><code>* 4363273 Updated Order_Entry with bulk UPDATE command
  *   e7e0c64 Updated Order Entry module and Orders Schema
  |\
  | *   2cff23e Merge branch 'order_schema'
  | |\
  | | * 104b2ce Orders Schema
  | * |   afa1b7b Merge pull request #18 from project/bugfix/mockvenue
  | |\ \
  | | |/
  | |/|
  | | * 4b2c8d8 Return correct string in mock venue API
  | |/
  * | f7d57cf Order Entry updated to handle and log responses from LC
  |/
  *   8ed2260 Merge pull request #17 from project/mockvenue
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/TEo3N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TEo3N.png" alt="enter image description here"></a></p>