title: Git - Force remote branch to match local
body: <p>So an error happened at my <code>Openshift</code> respository, and now I need to upload the project again, however when I do</p>
  
  <pre><code>git commit -am "some text"
  git push
  </code></pre>
  
  <p>I get the message "Everything is up to date", I now want know how exactly I can force my local version to the remote one at which <code>Openshift</code> uses.</p>
  
  <p>I can see that people are talking about making a "bare" version of the project, but I don't know what they are talking about, and I'm not that familiar with git for me to dare test a whole lot of things, so a nice "ready to use" solution would be gold ;-)</p>
  
  <p><br></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>As suggested by the comment I tried the ´git push -f origin master` but I get the same result.</p>
  
  <p>Here's a screenshot of my command prompt:<a href="https://i.stack.imgur.com/EQxnE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EQxnE.png" alt="image"></a></p>