如何快速为使用Xcode的团队设置Git? [英] How to quickly set up Git for teams using Xcode?

查看:162
本文介绍了如何快速为使用Xcode的团队设置Git?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然无法确定是否应该使用Mercurial或Git。 Git直接支持Xcode,而Mercurial则不支持。因此,与Apple保持联系并使用他们喜欢的东西可能是很明智的。

由于Git和Mercurial几乎完全相同,我没有看到为什么要使用它Mercurial无论如何。

但现在问题是:如何设置Git,以便5个开发人员可以在同一个项目上工作,每个人在他们的机器上都有本地完整工作副本,然后将他们的结果推回到一个中央回购站,在那里其他人都可以将最终的超级合并回来?



我想有一个很好的教程吗?由于编码非常困难,团队中的其他开发人员不想在命令行中混乱。有没有任何图形用户界面,使创建和维护资源库是一件容易的事情?



雪豹,btw ...我发现这个Git安装程序的Mac OS X ,但是它没有提到它是否在Snow Leopard上运行。不确定这是否是原始的好东西:



http://code.google.com/p/git-osx-installer / downloads / list?can = 3& q =& sort = -uploaded& colspec = Filename + Summary + Uploaded + Size + DownloadCount
$ b

编辑:混乱!有人告诉我Xcode有Git集成,但它只有SVN! OK,即使我仍然坚持使用Git,我至少可以开始使用GUI吗?



http://developer.apple.com/technologies/tools/whats-new.html#version-editor


I still can't really figure out if I should go with Mercurial or Git. Git is directly supported by Xcode, and Mercurial isn't. So it might be clever to stay with Apple and use what they prefer.

Since Git and Mercurial are pretty much the same thing though, I see no big reason why to use Mercurial anyways.

But now the problem is: How to set up Git so that 5 devs can work on the same project, everyone having a full working copy locally on their machine, and then pushing their results back to an central repo where everyone else can pull the final super-merge back in?

I guess there is a good tutorial somewhere? The other devs in the team don't want to mess around in the command line since coding is hard enough. Are there any GUIs for Git that make creating and maintaining the repository an easy thing?

Snow Leopard, btw... I've found this Git Installer for Mac OS X, but it doesn't mention if this runs on Snow Leopard. Not sure if this is the original good thing:

http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCount

Edit: Confusing! Someone told me Xcode has Git integration, but it only has SVN! OK so even if I still stick with Git, how can I get started with a GUI at least?

解决方案

Xcode 4 will have git support built-in.

http://developer.apple.com/technologies/tools/whats-new.html#version-editor

这篇关于如何快速为使用Xcode的团队设置Git?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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