if you have revered a commit and want the remote branch to reflect your revert + latest commits use this bit of code
git push -f origin master
Note that this will reset your remote (origin) master to reflect changes in your local master. Use with caution!