Git Force Push
Force push into a git repository
Following command will ignore the changes in remote and pushes the current changes Ref: Git Force Push
git push --force origin <branch_name>
Prefer using --force-with-lease instead
git push --force-with-lease origin <branch_name>
Alias
Configure an alias for easier usage:
git config --global alias.pf "push --force-with-lease"