title: How to properly use git merge --squash
body: <p>I'm fairly new to git and only work by myself so I don't use many of the features it can do but I am running into a process that either I am thinking about it wrong or doing something wrong.</p>
  
  <p>I have a master branch with 1 commit (init).</p>
  
  <p>I have a develop branch with 180 commits.</p>
  
  <p>Today I am finally ready to merge the develop branch into the master, I did some reading and found out about squash.  This seems like something useful since I wouldn't pollute the master branch with the same WIP commits that are in the develop branch.</p>
  
  <p>So I ran</p>
  
  <pre><code>git checkout master
  git merge --squash develop
  git commit
  </code></pre>
  
  <p>From here everything looks as I expected, <code>master</code> has 2 commits, <code>develop</code> still has 180.  In my head I now check out <code>develop</code> again and continue working.  I pushed to <code>bitbucket</code> and took a look around at my project to see this merge and noticed the following:</p>
  
  <pre><code>1 commit(s) on master and not on develop
  179 commit(s) on develop and not on master
  </code></pre>
  
  <p>Is this just expected behaviour and I am supposed to ignore it or did I do something wrong.</p>