一个git项目多个仓库地址
方法一:(使用 “git remote add 仓库名” 命令)--推荐 第一个仓库(默认仓库) git remote add origin https://github.com...... git push -u origin master 第二个仓库(newRepository 便是第二仓库) git remote add newRepository https://github.com...... git push -u newRepository master 取消关联时:git remote remove newRepository 在控制台中 输入 git remote -v newRepository https://github.com/lixy-github/newRepository.git (fetch) newRepository https://github.com/lixy-github/newRepository.git (push) origin http://....com:5678/gitbucket/git/Li.XY/Pride.git (fetch) origin http://....com:5678/gitbucket/git/Li.XY/Pride.git (push 可以看到两个远程仓库地址,但是需要push两次