Browse Source

Better push in 'mfpub'

Scott Lahteine 5 years ago
parent
commit
8dd9afe4f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      buildroot/share/git/mfpub

+ 2 - 2
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