git push -f origin HEAD code example
Example: git push f head
git checkout branchname # if you're not on it already
git reset --hard abcdef0
git push -f
git checkout branchname # if you're not on it already
git reset --hard abcdef0
git push -f