push force to git code example
Example 1: git push origin master --force
git push origin --force
Example 2: git force push to remote
git push -f <remote> <branch>
# example: git push -f origin master
git push origin --force
git push -f <remote> <branch>
# example: git push -f origin master