title: Gitflow: Should I squash commits when merging from a release branch into master?
body: <p>I am going to merge my release branch to master and I am wondering if I should squash the commits from develop into a single merge commit when merging into master.</p>
  
  <p>General documentations about git flow contain figures like this one from in the Atlassian page:</p>
  
  <p><a href="https://i.stack.imgur.com/rE8jd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rE8jd.png" alt="enter image description here"></a></p>
  
  <p>In those figures only single commits appear on master instead of all commits made to develop.</p>
  
  <p>Acctually, I like the idea of having a master branch which release commits only.</p>
  
  <p>Should I retain all commits on develop when merging into master? Or do you squash the commits before merging to master when following Gitflow?</p>
  
  <p>Link to the source article: <a href="https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow" rel="noreferrer">Gitflow Workflow - Atlassian</a></p>