So I had made some changes to some code that was running just fine so I pushed it to origin master. I come to it the next day and by some mystery (I know what happened now but it doesn't matter), things stop working. I say fine I'll just go back to the previous version by 'git reset --hard foo. I redo what I had done the correct way so the problem doesn't happen again but git wants me to pull before I can push these changes saying: 

```
hint: Updates were rejected because the tip of your current branch is behind 
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.

```

Is there a way to essentially disregard the current head of the branch and replace it with what I have now?

I should have noted this is a protected branch.