git fatal: Could not read from remote repository. 作者:七棵菜 日期:2022-11-30 栏目:计算机分类:90 人气:453 #### 错误 使用`git`向远程仓库推送代码时报错: ``` fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` #### 原因 - 远程仓库地址变了 - 远程权限更新了 #### 解决办法 确认远程仓库地址正确之后,重新拉取远程仓库,然后再提交 ``` git fetch origin master git push origin master ``` 标签: git fetch push 上一篇:如何使用mvn命令导入依赖 下一篇:TypeError: Cannot read property 'kind' of undefined at ... 随便看看 2022-11-30 配置apache, nginx 支持 angular2+ 等单网页项目路由刷新 2023-08-16 nginx配置angular项目部署在项目子目录 2022-11-30 设置 .gitignore 不忽略文件夹的规则 2022-11-30 git查看某文件最近的修改内容 2022-11-30 实现 git 切换分支后代码互不影响 留言