[翻译] USING GIT IN XCODE [2] 在XCODE中使用GIT[2]
USING GIT IN XCODE

http://www.cimgf.com/2013/12/10/using-git-in-xcode/
USING AN EXISTING REMOTE PROJECT IN XCODE
To clone a copy of an existing remote repository, open the Organizer in Xcode and select Repositories. Click the plus (“+”) button in the lower left hand corner of the Organizer, and select “Checkout or Clone Repository…”.
打开Xcode中的Organizer并选择Repositories,选择下图所示就可以拷贝远程的版本了。

Xcode will present a dialog requesting a URL or file path. Xcode can handle both ssh and https URLs for git repositories. Be sure to specify the full URL for the repository, which is typically available on the project page for Github or Bitbucket.
Xcode会弹出一个对话框,需要你提供一个URL地址或者是文件地址,Xcode可以处理ssh或者https方式的URL。确保填写的URL是正确的,这个URL地址在Github或者Bitbucket上有提供。

If the repository is private and requires authentication, Xcode will request your credentials for the repository.
如果这个版本是私有的而需要你验证,Xcode会要求你输入验证信息。

Provide your credentials and click OK. Xcode will store your credentials in the keychain for subsequent accesses of the remote repository. Note that Xcode can also handle ssh key authentication in addition to name and password. Once Xcode has authenticated with the remote repository, Xcode will request a location to store the project, and then project will be cloned. Once cloned the project can be opened or shown in the finder.
If you run into an issue with using the Checkout or Clone approach and authentication, Select “Add Repository…” instead. You can then add your authentication information for the repository, and clone from there. This approach worked for me in cases where using Checkout or Clone did not.
When the clone is complete, the local working copy is ready for updates.
填写了正确的信息后并点击OK,Xcode会存储证书信息到keychain中,便利于随后的版本控制操作。注意哦,Xcode是能够处理ssh方式验证信息的。一旦Xcode验证通过了远程的版本,Xcode会询问你一个本地地址用来存储工程,当你选择好地址后,点击确认,这个工程就可以保存到本地了。
如果你在用 Checkout 或者 Clone approach 时出现了问题,请选择 “Add Repository…”来代替。之后,你可以在那里把你的验证信息添加到版本中,后续使用都是一样的。
当工程项目拷贝结束了,这个本地的版本就可以进行更新操作了。
[翻译] USING GIT IN XCODE [2] 在XCODE中使用GIT[2]的更多相关文章
- git篇之二----团体项目中使用git
上篇说了git的简单入门,本篇来说一下在团体项目中我们该如何简单使用git 一般来说,当我们进入公司之后,就前端项目而言,若是有多个同事共同开发一个系统,我们可能会每个人去负责各自的模块. 若是人员较 ...
- [.net 面向对象程序设计进阶] (27) 团队开发利器(六)分布式版本控制系统Git——在Visual Studio 2015中使用Git
[.net 面向对象程序设计进阶] (26) 团队开发利器(六)分布式版本控制系统Git——在Visual Studio 2015中使用Git 本篇导读: 接上两篇,继续Git之旅 分布式版本控制系统 ...
- (转载)在Visual Studio 2015中使用Git
原文:http://blog.csdn.net/damon316/article/details/51885802 1. VS2015在对Git的支持 VS2015是微软IDE集成开发环境的重量级升级 ...
- Git权威指南学习笔记(二)Git暂存区
例如以下图所看到的: 左側为工作区,是我们的工作文件夹. 右側为版本号库,当中: index标记的是暂存区(stage),所处文件夹为.git/index,记录了文件的状态和变更信息. master标 ...
- 如何在cmd中集成git
1.要在cmd中集成git,要解决在cmd中输入git命令时不提示git不是内部或外部命令: 即需要将git添加到path变量中,即将D:\Git\mingw64\bin和D:\Git\mingw64 ...
- 不懂Git,别说自己是程序猿–20分钟git快速上手(转)
在Git如日中天的今天,不懂git都不好意思跟人说自己是程序猿.你是不是早就跃跃欲试了,只是苦于没有借口(契机). 好吧,机会就在今天. 给我20分钟,是的,只要20分钟, 让你快速用上git. 我们 ...
- [翻译] USING GIT IN XCODE [5] 在XCODE中使用GIT[5]
USING GIT IN XCODE USING BRANCHES Branches can be a very effective tool to isolate new features or e ...
- [翻译] USING GIT IN XCODE [3] 在XCODE中使用GIT[3]
USING GIT IN XCODE MAKING AND COMMITTING CHANGES Once you have a working copy of your project, it’s ...
- [翻译] USING GIT IN XCODE [1] 在XCODE中使用GIT[1]
USING GIT IN XCODE http://www.cimgf.com/2013/12/10/using-git-in-xcode/ Git has become a very popular ...
- 在Xcode中使用Git进行源码版本控制
http://www.cocoachina.com/ios/20140524/8536.html 资讯 论坛 代码 工具 招聘 CVP 外快 博客new 登录| 注册 iOS开发 Swift Ap ...
随机推荐
- python3 连接HBase
db_url = 'http://47.93.89.99:8765' from traceback import format_exc import phoenixdb as pb class Uti ...
- elasticsearch插件的开发--计算特征向量的相似度
目录 更改elasticsearch的score评分 插件源码解读 脚步一 脚本二(fast-vector-distance) 部署 测试 创建索引 查询 版本说明 项目详细见github 参考文献 ...
- Linq之Distinct详解
前天在做批量数据导入新增时,要对数据进行有效性判断,其中还要去除重复,如果没出现linq的话可能会新声明一个临时对象集合,然后遍历原始数据判断把符合条件的数据添加到临时集合中,这在有了linq之后显得 ...
- Linux IPC机制 - 函数总结
以下表格为IPC的函数总结,IPC包括: 1. 无名管道(Pipe):http://www.cnblogs.com/Jimmy1988/p/7553069.html 2.有名管道(FIFO):http ...
- python队列、线程、进程、协程
目录: 一.queue 二.线程 基本使用 线程锁 自定义线程池 生产者消费者模型(队列) 三.进程 基本使用 进程锁 进程数据共享 默认数据不共享 queues array Manager.dict ...
- UIWebView 展示GIF/image
代码: [web loadData:self.gifDataArr[index] MIMEType:@"image/gif" textEncodingName:@"&qu ...
- SpringBoot+Mybatis整合入门(一)
SpringBoot+Mybatis 四步整合 第一步 添加依赖 springBoot+Mybatis相关依赖 <!--springBoot相关--> <parent> < ...
- spring Controller 层注解获取 properties 里面的值
前言:最近在做一个项目,想要在 controller 层直接通过注解 @Value("")来获取 properties 里面配置的属性. 这个其实和 springmvc.sprin ...
- 关于pycharm 打不开某些文件夹和文件打不开的问题
在使用pycharm的时候遇到了一个情况, 下载了一个文件,自己修改了文件夹名称后再打开文件夹里的py文件, 打不开了,pycharm没有反应, 百度了一下,没有类似的问题,觉得应该是个个例... 然 ...
- drupal7 带表达式条件的update
原本的mysql语句是这样的: ; 转化成drupal的api是这样的 $total_amount=1; $rows= db_update('my_payment_card') ->expres ...