解决 fatal: Not a git repository (or any of the parent directories): .git 问题
Git 解决 The not of or fatal any
2023-09-14 09:04:07 时间
今天在提交git新仓库的时候,遇到这个报错。
我直接先用的git add .
于是就报这个错了!
解决办法:先git init 然后再git add .成功!
资料:
相关文章
- Git使用之Permission Denied问题解决
- git reset的用法
- [Git] git代码统计
- [MAC ] Mac-OSX下安装Git
- Git之detached HEAD
- git代码提交方式
- git 使用ss5代理
- git分享(一)git clone
- [AWS] Move Code from git to CodeCommit
- linux ubuntu git报错fatal: unsafe repository git config --global --add safe.directory解决方案
- 如何查看git version多少(两种方法)
- 已解决正确配置git环境变量
- git错误non-fast-forward后的冲突解决
- Git强制更新本地库和冲突解决
- 【问题解决】error: pathspec ‘XXX‘ did not match any file(s) known to git
- 【问题解决】git 合并commit 请求报错:Cannot ‘fixup‘ without a previous commit
- git pull 总要求输入账号和密码解决?
- Windows10系统安装Git客户端
- 解决 fatal: Not a git repository (or any of the parent directories): .git 问题
- git报错:Your branch and ‘origin/master‘ have diverged
- 如何解决之TortoiseGit 桌面右键没有Git 克隆的问题
- GIT学习----第十二节:解决合并分支的冲突
- GIT学习----第五节:管理修改
- sts配置maven及Git使用(解决冲突)
- Git实战之git客户端上传文件到github
- 报错:fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle解决
- git报错:ssh variant 'simple' does not support setting port解决