当前所在的分支为要和远程分支关联的本地分支
- git remote rm origin 先删除
- git remote add origin https://git.huaxin.site/cscloud/cscloud-tpa-base.git
地址关联 - git pull origing 关联的远程分支名 --allow-unrelated-histories 合并
- git branch --set-upstream-to=origin/远程分支名 远程分支名 关联分支
版权声明:本文为lazy_cat_go原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。