我尝试在我的项目目录中运行此命令 $ git status 但我收到一条错误消息,表明 fatal: not a git repository (or any of the parent directories): .git
$ git status
fatal: not a git repository (or any of the parent directories): .git
我还通过使用“pwd”来确保我在正确的目录中,但它不起作用。 请帮助我,我是第一次使用github。
尝试运行此命令,因为您可能忘记将存储库初始化为Git存储库
git init