[英]Xcode: Enable Create Git Repository after disabling it
Like the Title already says: 就像标题已经说过的:
I created a Xcode Project and i accidentally disabled : "Create Git Repository" 我创建了一个Xcode项目,并意外禁用了“创建Git存储库”
Does someone know, if i can enable it again ? 有人知道,如果我能再次启用它吗? I don't want to delete this project and start from the beginning again 我不想删除该项目并从头开始
This button basically does git init
. 这个按钮基本上执行git init
。
So just call git init
in your Terminal in the relevant project folder. 因此,只需在终端的相关项目文件夹中调用git init
。 Afterwards you can add remotes and do commits and pushes. 之后,您可以添加遥控器并进行提交和推送。 Xcode will recognize the repository automatically. Xcode将自动识别存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.