Ref: Simon, Thum
Keywords:
Keywords:
在运行 git-sync 的时候,一开始还没法执行成功,我从 stderr 中发现它说:
git-sync: Please use
git-sync: git config --bool branch.master.sync true
git-sync: to whitelist branch master for synchronization.
git-sync: Branch master has to have a same-named remote branch
git-sync: for git-sync to work.
git-sync: (If you don't know what this means, you should change that
git-sync: before relying on this script. You have been warned.)
所以可能在配置这个仓库的自动同步之前得先执行一次 git config --bool branch.master.sync true