zl程序教程

您现在的位置是:首页 >  工具

当前栏目

解决 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 .成功!

资料:

https://blog.csdn.net/wenb1bai/article/details/89363588