diff --git a/buildroot/share/git/mfpub b/buildroot/share/git/mfpub index 8ec28ad489a13c38925c373c7fef5e3ea44f949b..53911d6d4e45d8af6670c5133d5fe521c77db4c6 100755 --- a/buildroot/share/git/mfpub +++ b/buildroot/share/git/mfpub @@ -67,11 +67,11 @@ if [[ $BRANCH == $TARG ]]; then # Allow working directly with the main fork echo echo -n "Pushing to origin/$TARG... " - git push -f origin + git push origin HEAD:$TARG echo echo -n "Pushing to upstream/$TARG... " - git push -f upstream + git push upstream HEAD:$TARG else