将现有项目置于Xcode 4.3.2的源代码控制之下 [英] Putting existing project under source control in Xcode 4.3.2

查看:100
本文介绍了将现有项目置于Xcode 4.3.2的源代码控制之下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法将我现有的项目放在源代码控制之下,然后我看着,但它看起来像解决方案只适用于Xcode 4.0,因为我找不到建议的方法。我也查看了这个问题,但该解决方案不起作用要么是因为我的项目目前不受源代码控制。如何在源代码控制下获得我现有的项目?



编辑



我希望它成为一个git存储库,而不是颠覆。

解决方案

您可以在终端中使用:

cd / to / app / folder

  git init 
git add。
git commit -am'您第一次提交的描述符'

然后应该选取在Xcode中,您可能需要关闭并重新打开

希望它有帮助


I was looking for a way to put my existing project under source control, and I looked at this question, but it looks like that solution only worked with Xcode 4.0 because I can't find a way to do what is advised. I also looked at this question, but that solution doesn't work either because my project isn't currently under source control. How can I get my existing project under source control?

Edit

I want it to be a git repository, not subversion.

解决方案

you can do it in terminal using:

cd /to/app/folder

git init
git add .
git commit -am 'a descriptor of your first commit'

This should then be picked up in Xcode, you may need to close and re-open

Hope it helps

这篇关于将现有项目置于Xcode 4.3.2的源代码控制之下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆