title: EGit on Eclipse: How to git push --force?
body: <p>I've run into a problem with my origin/branch being out of sync with my local branch, see below</p>
  
  <p><img src="https://i.stack.imgur.com/WOzZ9.jpg" alt="My commit history"></p>
  
  <p>When I try to PUSH from my local "staging" branch to the origin/staging branch I get the "rejected - non-fast-forward" error.</p>
  
  <p>I use Eclipse with the EGit module on a windows PC.</p>
  
  <p>From <a href="https://stackoverflow.com/questions/8939977/git-push-rejected-after-feature-branch-rebase">another post here</a> I see that I can resolve my issue with the "git push --force origin staging" to over-ride the origin/staging branch with my local branch.</p>
  
  <p>However, I don't see that option with EGit, and I don't see how to open a console in EGit to do this?</p>
  
  <p>Does anyone know if I can do this within EGit?</p>
  
  <p>OK - fixed my own issue. It appears I had issues with Commits that had not been Pushed back to origin/staging. Found <a href="http://www.opentaps.org/docs/index.php/How_to_Use_Git:_a_Tutorial#Fixing_Commits_Which_Have_Not_Been_Pushed" rel="noreferrer">an overview here</a> on using the "git reset XXX : without --hard" which resets the branch marker, but keeps the local changes for later recommits.</p>
  
  <p>Thanks, Jason</p>