我用git add file添加文件时出现这样错误:

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

提示说没有.git这样一个目录,解决办法如下:

git init就可以了!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-04-01
  • 2022-01-12
  • 2021-10-31
猜你喜欢
  • 2022-12-23
相关资源
相似解决方案