Git force-pushing will overwrite the remote branch with the state of your local one

If there are commits on the git remote branch that you don't have in your local branch, you will lose those commits.

Comments