参考该链接
git clone [email protected]:username/repositoryname.git
git remote add upstream https://github.com/owername/pouch.git
git remote set-url --push upstream no-pushing
git fetch upstream
git merge upstream/master
git pull
这时三个仓库就已经保持同步了。
参考该链接
git clone [email protected]:username/repositoryname.git
git remote add upstream https://github.com/owername/pouch.git
git remote set-url --push upstream no-pushing
git fetch upstream
git merge upstream/master
git pull
这时三个仓库就已经保持同步了。