本地git文件夹只需添加一次
git remote add upstream https://xxx.git
git fetch upstream
git checkout dev
git merge upstream/dev
略
同步 Github fork 出来的分支
原文:https://www.cnblogs.com/codeRhythm/p/12459932.html