简单暴力,亲测有效!!!
一、问题
在项目中shift+右键-在此处打开powershell窗口-输入git status报错fatal: Not a git repository (or any of the parent directories): .git
二、原因
没在仓库的目录下运行git命令,找不到.git.
三、解决方法
输入git init即可
解决fatal: Not a git repository (or any of the parent directories): .git问题
最新推荐文章于 2024-02-29 17:15:06 发布