force push in github code example
Example 1: git force push
git push --force
Example 2: how to push force git
git push origin <your_branch_name> --force
Example 3: git force push
git push -f
git push --force
git push origin <your_branch_name> --force
git push -f