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 View File

@@ -67,11 +67,11 @@ if [[ $BRANCH == $TARG ]]; then
67 67
     # Allow working directly with the main fork
68 68
     echo
69 69
     echo -n "Pushing to origin/$TARG... "
70
-    git push -f origin
70
+    git push origin HEAD:$TARG
71 71
 
72 72
     echo
73 73
     echo -n "Pushing to upstream/$TARG... "
74
-    git push -f upstream
74
+    git push upstream HEAD:$TARG
75 75
 
76 76
   else
77 77
 

Loading…
Cancel
Save