当前位置: 首页 > news >正文

git远程库与本地联系报错:fatal: Not a git repository (or any of the parent directories): .git

在github上新建了一个仓库,然后相与本地的仓库联系起来

$ git remote add origin https://github.com/liona329/learngit.git

fatal: Not a git repository (or any of the parent directories): .git

总是报这个错

解决方法:git init

成功

相关文章:

  • Git五分钟教程
  • 多人开发时Git下冲突的产生和解决
  • 搭通自己的电脑与GitHub的传输通道
  • QML使用Sqlite数据库存储ListModel数据
  • QML 提示Error: LocalStorage: can't create path /QML/OfflineStorage/Databases解决方案
  • git 上传文件到仓库上提示:origin does not to be a git repository
  • fatal: Could not read from remote repository.的解决办法
  • github常见操作和常见错误!错误提示:fatal: remote origin already exists.
  • 删除github中某个文件夹
  • git add , git commit 添加错文件 撤销
  • Git的使用教程(一)初识Git
  • Git的使用教程(二)查看状态与文件比较
  • Git的使用教程(三)查看日志和版本回退
  • Git的使用教程(四)工作区和暂存区
  • Git的使用教程(五)管理修改
  • 2017届校招提前批面试回顾
  • Angular 响应式表单 基础例子
  • CSS选择器——伪元素选择器之处理父元素高度及外边距溢出
  • ES6系统学习----从Apollo Client看解构赋值
  • Go 语言编译器的 //go: 详解
  • JAVA并发编程--1.基础概念
  • Java精华积累:初学者都应该搞懂的问题
  • Material Design
  • PHP 小技巧
  • windows-nginx-https-本地配置
  • Yii源码解读-服务定位器(Service Locator)
  • 对话 CTO〡听神策数据 CTO 曹犟描绘数据分析行业的无限可能
  • 解决iview多表头动态更改列元素发生的错误
  • 开放才能进步!Angular和Wijmo一起走过的日子
  • 每天10道Java面试题,跟我走,offer有!
  • 问题之ssh中Host key verification failed的解决
  • 小李飞刀:SQL题目刷起来!
  • 这几个编码小技巧将令你 PHP 代码更加简洁
  • “十年磨一剑”--有赞的HBase平台实践和应用之路 ...
  • ​​快速排序(四)——挖坑法,前后指针法与非递归
  • # 手柄编程_北通阿修罗3动手评:一款兼具功能、操控性的电竞手柄
  • #mysql 8.0 踩坑日记
  • (23)Linux的软硬连接
  • (亲测成功)在centos7.5上安装kvm,通过VNC远程连接并创建多台ubuntu虚拟机(ubuntu server版本)...
  • ... 是什么 ?... 有什么用处?
  • .net MySql
  • .NET中的Event与Delegates,从Publisher到Subscriber的衔接!
  • @NoArgsConstructor和@AllArgsConstructor,@Builder
  • [ 数据结构 - C++]红黑树RBTree
  • [Android Pro] listView和GridView的item设置的高度和宽度不起作用
  • [ARC066F]Contest with Drinks Hard
  • [Docker]十二.Docker consul集群搭建、微服务部署,Consul集群+Swarm集群部署微服务实战
  • [Excel]如何找到非固定空白格數列的條件數據? 以月份報價表單為例
  • [Java] IDEA Scala环境搭建
  • [JavaWeb玩耍日记]Maven的安装与使用
  • [Python] 输入与输出
  • [Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available
  • [WebUI Forge]ForgeUI的安装与使用 | 相比较于Auto1111 webui 6G显存速度提升60-75%
  • [Windows编程] 获取系统CPU 个数
  • [XA]我们为什么不用XP(eXtreme Programming)极限编程?