栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

fatal: ‘origin‘ does not appear to be a git repository fatal: Could not read from remote repository.

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

fatal: ‘origin‘ does not appear to be a git repository fatal: Could not read from remote repository.

报错:

fatal: ‘origin’ does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

报错原因:没有关联或者添加错误关联 解决方法:关联远程仓库

git remote -v: 查看远程仓库详细信息,检查仓库名称和关联地址;
添加仓库关联:git remote add 仓库别名 仓库地址

git remote -v:    查看远程仓库详细信息,包括仓库名称,关联地址
git remote remove orign:删除orign仓库
git remote add origin 仓库地址:添加远程仓库地址
gti push -u origin master: 提交到远程仓库的master主干
一起进群交流学习吧!!!

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/705889.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号