As seen here:
$ (some_branch) git log
$ (some_branch) git rebase -i origin/master
$ (some_branch) git push -f origin some_branch
As seen here:
$ (some_branch) git log
$ (some_branch) git rebase -i origin/master
$ (some_branch) git push -f origin some_branch