如何在现有iOS项目中启用Source Control? [英] How to enable Source Control in existing iOS project?

查看:110
本文介绍了如何在现有iOS项目中启用Source Control?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在主题中 - 我有一个没有启用源代码管理的项目,那么我现在如何(以及如果)启用它?我使用快照,但项目变得很大,现在我需要一些更专业的工具。我仍然是一个xcode初学者,所以请解释它,就像我是一头牛。

As in the topic - i have a project that doesn't have Source Control enabled, so how (and if) can i enable it now? I use Snapshots but the project became a big one, and now i need some more "pro" tools. I'm still rather an xcode beginner, so please explain it like i was a cow.

推荐答案

首先你会有为github安装命令行工具。你可以通过这个链接 http://mac.github.com/ 这样做,然后在安装过程中它会要求您安装命令行工具,如果没有,您可以从首选项菜单中执行此操作。完成后,您将能够按照本网站上的说明转换您的项目:转换教程。完成所有这些后,本网站解释了您可能想要了解的有关源代码管理的所有信息,以及您可以用它做的一切。

First off you'll have to install the command line tools for github. You can do so from this link http://mac.github.com/, then either during setup it will ask you to install command line tools, or if it doesn't, you can do it from the preferences menu. Once this is completed, you will be able to follow the instructions on this website to convert your project: conversion tutorial. After all that is done, this website explains everything you could possibly want to know about Source Control and all you can do with it.

编辑

如果您不想为命令行工具安装github,可以安装 Homebrew ,它是一个包管理器(相当于apt-get的mac),然后运行 brew install git 获取最新版本的git。

If you do not want to install github for the command line tools, you can install Homebrew, which is a package manager (macs equivalent to apt-get), then run brew install git for the latest version of git.

这篇关于如何在现有iOS项目中启用Source Control?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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