浏览代码

Add in support for a "mid-sync" script

Samuel W. Flint 5 年之前
父节点
当前提交
9f102bfd80
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      git-sync

+ 1 - 0
git-sync

@@ -12,6 +12,7 @@ cd $TREE
 [ -e pre-sync ] && sh pre-sync
 git stash push -u -m "SYNC SAVE"
 git pull
+[ -e mid-sync ] && sh mid-sync
 git push
 [ -e post-sync ] && sh post-sync
 if git stash list | grep "SYNC SAVE" >/dev/null ; then