本地git仓库远程地址切换 ```bash // 先删除远端地址 git remote remove origin // 新建远端地址 git remote add origin '新远端代码地址' // 从新远端更新代码 git fetch --all ```