简体   繁体   English

在XCode中删除与ios项目关联的svn存储库

[英]Remove svn repository associated with ios project in XCode

I'm a little bit confused with Xcode 5 Source Control options. 我对Xcode 5 Source Control选项有些困惑。 I recently downloaded a project from Internet. 我最近从Internet下载了一个项目。 That project had an svn repository associated and now I want to commit this project to one git repository hosted at bitbucket. 该项目有一个关联的svn存储库,现在我想将此项目提交到托管在bitbucket上的一个git存储库。

The problem is that I'm not able to see where is the option or what do I have to do to delete the association between the svn repository and the project. 问题是我看不到该选项在哪里,或者我必须做什么才能删除svn存储库和项目之间的关联。 In the same way, I don't see where can I associate my bitbucket repository with the project. 以同样的方式,我看不到将我的Bitbucket存储库与项目关联到哪里。

I will answer myself. 我会回答我自己。 First of all I deleted the .svn folder inside my project, after that I opened a terminal, I went to my project folder and I entered: 首先,我删除了项目中的.svn文件夹,然后打开了终端,转到项目文件夹,然后输入:

git init
git add .
git commit -m "first commit"

After these steps I was able to upload the project to one bitbucket repo =) 经过这些步骤,我能够将项目上传到一个bitbucket repo =)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM