Languages
[Edit]
EN

git push branch with force to override remote changes

4 points
Created by:
AnnLen
11350

Quick solution:

git push origin --force

or

git push force

This command will push local branch to remote repository and override remote branch with local changes.

See also

  1. Git - pull with force to override / reset local changes in history 
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join