title: How to reset develop branch on remote to master
body: <p>I have develop &amp; master branches, my develop branch is messy now and i would like to reset it and make it as a copy of my master then push it to the server.</p>
  
  <p>I'm not sure if merging the master into develop will make both of them identical. after trying </p>
  
  <pre><code>git branch -f develop master
  git checkout develop
  </code></pre>
  
  <p>I get the following message</p>
  
  <blockquote>
    <p>Switched to branch 'develop' Your branch is behind 'origin/develop' by
    34 commits, and can be fast-forwarded.   (use "git pull" to update
    your local branch)</p>
  </blockquote>
  
  <p>I want to update the remote too.. how do I do this?  how do I get around all this</p>