问题: 本地仓库已经跟远程一仓库相互关联,目前本地仓库不需要跟其关联,想替换成另一远程仓库。 解决办法: git remote rm origin git remote add origin 远程仓库地址