iOS-操作github上傳代碼001

來源:互聯網
上載者:User

標籤:

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.