1.通过git命令更改git remote set-url origin 【new_remote_repository_address】2.图形化界面修改在.git文件夹下config文件 改图中位置