Just in case, when someone cares for me.
If you want to override all your local changes with yours, it's probably because someone deleted the commit that your local branch referenced and added a new one and you do rebase, so git tries (this old commit + yours) on top of mine.
In this case, use git rebase -i remote-branch and comment out the old commit.
Hope this helps.
source share