ios-operation GitHub Upload code 001

Source: Internet
Author: User

ios-Operation GitHub Upload code

How GitHub for Mac clients are used

Look at the complete lack of clues:

Step 1: Add a Mac's local repository first; repository is the warehouse.
1. 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 wan T to add. .
4. The Add Repository button in the Mac Appclick add repository.

Step 2: Clone project files from the Web down


1. 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 add 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 a upstream branch to compare your changes against.

Branch from Menu
.
4, create branch ButtonClick create branch.


About commits confirmation is equivalent to saving
After your 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 was a change to one or more files on 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 your make a commits, you include a commit message that briefly describes the changes.

ios-operation GitHub Upload code 001

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.