title: Git - squash entire branch - one line squash command
body: <p>Whilst I am working on new code, I make many small commits to track my changes. My company, however, prefers each feature to be committed as a single commit. So the solution is to squash my entire (local) branch down to a single commit.</p>
  <p>How do I squash an entire branch without using <code>git rebase --interactive</code> and then changing <code>pick</code> to <code>squash</code> for all the commits?</p>