码迷,mamicode.com
首页 > 移动开发 > 详细

iOS-操作github上传代码001

时间:2015-09-17 19:09:04      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

iOS-操作github上传代码

github for mac客户端怎么使用

技术分享

看着上图完全没有头绪:

 

步骤1:先添加一个mac的本地仓库;repository是仓库的意思
1、In the top left corner of the app, click ?.

Add create clone button in Mac app
.
2、 At the top of the menu, click Add.

The Add option in the Mac app
.
3The Local Path field in the Mac appClick Choose... and, using the Finder window, navigate to the local repository you want to add. .
4、The Add repository button in the Mac appClick Add Repository.

 

步骤2:从网上clone项目文件下来


1、In the top left corner of the app, click ?.

Add create clone button in Mac app
.
2 、At the top of the menu, click Clone.

The Clone option in the Mac app
.
3、Select a repositorySelect a repository under your username, or if you‘re working with an organization repository, under the name of the organization. .
4 、At the bottom of the menu, click Clone REPOSITORY.

 

 

Creating a branch增加一个分支
1 、At the top of the app, click ?.

Create branch icon button in Mac
.
2、In the Name field, type a meaningful name for your branch.

Name branch field
.
3 、Optionally, in the From menu, choose an upstream branch to compare your changes against.

Branch from menu
.
4、Create branch buttonClick Create branch.

 


About commits确认相当于保存
After you clone a repository, you can create and review changes to the files in your project by creating commits.

Similar to "saving" a file, a commit is a change to one or more files in your branch, connected with a unique ID (the "SHA" or "hash") that tracks:
The specific changes
When the changes were made
Who created the changes

When you make a commit, you include a commit message that briefly describes the changes.

iOS-操作github上传代码001

标签:

原文地址:http://www.cnblogs.com/wenios/p/4816895.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!