【Git初探】Git中fatal: Not a git repository (or any of the parent directories): .git错误的解决办法
2023-09-11 14:19:36 时间
【Git初探】Git中fatal: Not a git repository (or any of the parent directories): .git错误的解决办法
今天用git bash更新项目时遇到了无论使用什么命令都会报fatal: Not a git repository (or any of the parent directories): .git的情况。
其实字面意思写得挺明显的:(当前)不是一个git的目录(或任何一个父目录),
所以按照字面意思使用 git init 新建一个.git目录就能解决问题了。
手动实验一下,效果显著。
相关文章
- git gc内存错误的解决方案
- win10安装Anaconda,详细版本,避坑指南,报ssl错误或者超时错误等等
- Git Pull Failed Your local changes would be overwritten by merge.(git报错)
- Hibernate插入错误:GenericJDBCException: could not insert:
- SQL Server安装程序在运行 Windows Installer 文件时遇到错误
- Git: GIT_SSH GIT_SSH_COMMAND
- Git 常见错误 之 error:error: src refspec main does not match any/ error: failed to push some refs to 简单解决
- JAVA-错误The type BookServiceImpl must implement the inherited abstract method
- 我错误的逃离了广州
- 《Java编码指南:编写安全可靠程序的75条建议(英文版)》—— 2.7 修复错误
- 《MySQL排错指南》——1.3 当错误可能由之前的更新引起时
- Git(二)使用git管理文件版本(TortoiseGit )
- Git删除错误提交的commit
- SpringBoot自定义错误页面,SpringBoot 404、500错误提示页面
- oracle-ORA-01567错误
- git clone: HTTP Basic: Access denied 错误
- 在使用Git提交代码的时候犯了个低级错误
- 解决Git问题:git登录账号密码错误remote: Incorrect username or password、如何快速关联/修改Git远程仓库地址、git修改用户名邮箱密码
- 【Git】gitblit搭建git服务器-开机自启-Mac版
- Git错误:Incorrect username or password ( access token )
- 【Git 问题及解决方案】git clone 含有子模块的项目
- Python3 错误和异常
- Git 使用教程 之 Git常见错误及解决方法整理
- sql server存储引擎启动错误(SQL Server could not spawn FRunCM thread)
- Linux下安装Git、git命令介绍
- ESP32反复重启报rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) flash read err, 1000错误
- 一个困扰几小时的低级错误!
- 实施虚拟化:管理员应避免五大安全错误
- git svn 错误 Can't locate SVN/Core.pm 的解决方案
- 本地Navicat远程连接Centos7服务器出现的错误汇总
- uView:如何正确的使用防抖和节流,以及如何解决错误:TypeError: Property value expected type of string but got null
- Git学习之常见错误 git push 失败