瀏覽代碼

Update git-sync

Samuel W. Flint 5 年之前
父節點
當前提交
0f048eabbe
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      git-sync

+ 2 - 2
git-sync

@@ -11,9 +11,9 @@ cd $TREE
 
 [ -e pre-sync ] && sh pre-sync
 git stash push -u -m "SYNC SAVE"
-git pull
+git pull --all
 [ -e mid-sync ] && sh mid-sync
-git push
+git push --all origin
 [ -e post-sync ] && sh post-sync
 if git stash list | grep "SYNC SAVE" >/dev/null ; then
     git stash pop -q