在 Xcode 中从 SCM 中删除项目
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1836856/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Remove project from SCM in Xcode
提问by Gerry
I have an iphone project on a mac. I set up an SCM repository and then ignored it for a while. Now I've decided to back up my source to my main PC and do source control there. I'm finding that the SCM wants to roll back my changes seemingly at random.
我在 Mac 上有一个 iphone 项目。我设置了一个 SCM 存储库,然后暂时忽略了它。现在我决定将我的源代码备份到我的主 PC 并在那里进行源代码控制。我发现 SCM 似乎想随机回滚我的更改。
How can I kill SCM in Xcode on the mac? I need to tell it to leave my source files alone. Nothing is worse than making changes and having your changes replaced.
如何在 Mac 上的 Xcode 中杀死 SCM?我需要告诉它不要管我的源文件。没有什么比进行更改并替换更改更糟糕的了。
I work alone, but have about 10 projects in source control on the pc.
我独自工作,但在 PC 上有大约 10 个源代码控制项目。
Thanks, Gerry
谢谢,格里
采纳答案by JoePasq
Assuming your using Xcode: As long as you have all your files (and another back up) you can go to preferences, scm, and then just remove the repository.
假设您使用 Xcode:只要您拥有所有文件(和另一个备份),您就可以转到首选项、scm,然后删除存储库。
回答by brian.clear
if you want to remove svn from folder manually
如果您想手动从文件夹中删除 svn
check the .svn folder is deleted from your project its in very directory and sub directory
检查 .svn 文件夹是否从您的项目中删除,它位于非常目录和子目录中