方法:
1,修改远程仓库名字,如图:
2,查看本地远程仓库
git remote -v origin git@github.com:WSS201912/linux_-imx-rel_imx_4.1.15_2.1.0_ga_ex.git (fetch) origin git@github.com:WSS201912/linux_-imx-rel_imx_4.1.15_2.1.0_ga_ex.git (push)
3,删除远程仓库origin
$ git remote rm origin
4 添加远程仓库(修改过名字的远程仓库)
git remote add origin git@github.com:WSS201912/linux_imx-rel_imx_4.1.15_2.1.0_ga_ex.git
5同步
git pull origin master