问题很简单。在创建Xcode 8项目时,Xcode没有给我创建本地Git repo的选项。该选项被禁用了。此外,在现有项目中,源代码菜单中的所有选项都是灰色的。Git已安装在我的电脑上。怎么回事?
.git
git status
fatal: Not a git repository (or any of the parent directories): .git
.git
文件夹吗?如果你在bash中从根目录输入git status
,会看到什么? - Tim Biegeleisengit status
命令时,出现了fatal: Not a git repository (or any of the parent directories): .git
的错误提示。 - slider