标签:
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.
标签:
原文地址:http://www.cnblogs.com/wenios/p/4816895.html