实际开发中,如果我们做的项目以后还有借鉴意义,可能我们会想到把他放进自己的私有仓库中,那么问题来了,常规的命令操作(如下)无法关联第二个远程仓库
git remote add https://gitee.xxx/xx/git
正确的做法:
1. git remote add 仓库名 仓库地址 即完成关联
2. git push 仓库名 新分支 提交本地分支
https://github.com/Molunerfinn/PicGo https://github.com/Molunerfinn/PicGo