git Update project 报错

📅 2026/7/30 18:14:22 👁️ 阅读次数 📝 编程学习
git Update project 报错

git Update project 报错 9:17 Update failed remote: The project you were looking for could not be found.
repository ‘http://xxxx/xxxxxxxxx.git/’ not found
9:17 Update canceled

删除 origin 远程仓库

git remote remove origin

添加新的 origin 地址(替换为正确的地址,若无git,则可以直接进行这一步添加远程连接)

git remote add origin <git clone地址>

查看远程仓库配置

git remote -v

返回代码页,下方git, 刷新, remote branchs 切换到自己的分支