代码从gogs迁移至bitbucket,远程仓库地址变更,本地需要修改远程仓库地址 origin 是默认的远程版本库名称 查看远程地址:git remote show origin 修改远程地址:git remote set-url origin <new url> 再查看远程地址确认是否修改成功