title: Can not push changes after using git reset --hard
body: <p>I had a mistake and commit some changes to git which I should not have committed.
  After I made the commit, I pushed my changes. 
  I then used the following commands to try and reset my changes.</p>
  
  <pre><code> git reset --hard head
  </code></pre>
  
  <p>Now I want to push this 'reset' to the remote repository with this command:</p>
  
  <pre><code>git push MyBranch
  </code></pre>
  
  <p>But I am getting this error:</p>
  
  <pre><code>remote: error: denying non-fast-forward refs/heads/branch (you should pull first)
  </code></pre>
  
  <p>I tried to use this command without any success: </p>
  
  <pre><code>git push -f "origin" 
  </code></pre>
  
  <p>Any idea what I can do?</p>