删除Xcode项目的源代码控制 [英] Remove source control for Xcode project
问题描述
一段时间以来,我一直在Xcode项目上使用源代码控制,但是现在我不想使用源代码控制.
I've been using source control on an Xcode project for awhile, but now I don't want to use source control.
如何从Xcode中的项目中删除源代码控制?
How do you remove source control from a project in Xcode?
推荐答案
有三种方法.方法1将禁用所有项目的源代码控制.方法2将删除所有项目的单个存储库的链接.方法3将删除指向单个项目的资源库的链接.我认为方法3是您要寻找的方法.
There are three ways. Method 1 will disable source control for all projects. Method 2 will delete the link to a single repository for all projects. Method 3 will remove the link to a repository for a single project. I think Method 3 is the one you are looking for.
1:通过源代码管理管理"首选项
1: Through Source Control Management Preferences
在Xcode中,选择 Xcode->首选项,然后选择源代码控制,然后取消选中启用源代码控制选项.
In Xcode, choose Xcode-> Preferences, then select Source Control and uncheck Enable Source Control option.
2:转到 Xcode->首选项->帐户->存储库并删除它们.
2: Go to Xcode->Preference->Accounts->Repositories and delete them.
3: You can do it manually this way: Show Hidden Files on your Mac and delete all the .svn
or .git
or .tf
files (according to the source control) folders from the project.
svn目录示例:
这篇关于删除Xcode项目的源代码控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!