git仓库同时上传到github和gitee 阅读次数: 下载仓库到本地 1git clone [email protected]:xx.git 移除现有仓库 1git remote rm origin 关联GitHub的远程库 1git remote add github [email protected]:xx.git 关联码云仓库 1git remote add gitee [email protected] 查看远程仓库 1git remote -v 代码推送 123git push github mastergit push gitee master