git push -f origin myBranch #Note: if your remote repo ('origin') has its config set with #receive.denyNonFastForwards true #it will deny any non fast-forward push (even when forced).