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
     # Allow working directly with the main fork
67
     # Allow working directly with the main fork
68
     echo
68
     echo
69
     echo -n "Pushing to origin/$TARG... "
69
     echo -n "Pushing to origin/$TARG... "
70
-    git push -f origin
70
+    git push origin HEAD:$TARG
71
 
71
 
72
     echo
72
     echo
73
     echo -n "Pushing to upstream/$TARG... "
73
     echo -n "Pushing to upstream/$TARG... "
74
-    git push -f upstream
74
+    git push upstream HEAD:$TARG
75
 
75
 
76
   else
76
   else
77
 
77
 

Loading…
Cancel
Save