[ios2]通过Xcode将项目同步到GitHub上

1.GitHub上创建账号

2.https://github.com/new

创建Repository name

 

 

 

3. 打开Xcode,选择第二项Connect to a repository:


4. 把repository克隆到本地目录下,比如桌面的TTImagePicker:


5. 新建一个Xcode工程,保存到刚才新建的TTImagePicker目录下。这里不要勾选下面这个选项:


6. 编辑工程,比如添加文件,编写代码之类的。

7. File -> Source Control -> Commit

8. File -> Source Control -> Push

完。

 

posted @ 2013-04-26 10:07  金建彤  阅读(200)  评论(0编辑  收藏  举报