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