idea切换项目gitlab仓库地址 1:查询目前本地项目的来源地址:git remote -v; 2:重置项目的来源地址:git remote set-url origin <新仓库地址>; 3:本地代码提交到新仓库地址:git push -u origin master;