GitHub Client Desktop Installation Usage Summary---basics

Source: Internet
Author: User

This period of time want to write something I upload to GitHub, so began to collect information learning, took a lot of detours (msysgit and very slow FQ speed let me want to die), and finally found a more useful tool GitHub desktop. Make a detailed record here.

First step to register a GitHub account 1. Registration interface

https://github.com/, such as:

2. Next registration process

3. Simply enter the user name, email address, password Click Create to enter the next step, such as:

If you tick "help me set up a organization next" it will go into the process of creating the organization. (I chose when I signed up, created an organization, felt that the individual user created this is useless, later use was also misled)

4. Select the free version

(The free version can only create a public warehouse, other versions can create personal private version) Click "Finish Sign Up", here our GitHub account is registered to complete.

Second, create a warehouse 1, if you want to upload your own code, you need to create a code warehouse,

Click "" New repository to create your own code repository (of course you will have to verify the email you filled in when you registered)

2. If you are trying to change someone else's code,

Simply click the "Fork" button in the corresponding project and you'll see the item in your account.

Third, the installation of Desktop

General situation we also need to download the code locally, with the compilation tool to modify, there is a synchronization of code to the online warehouse problem, many people introduce the use of Msysgit and its clients, but I did not fix for a long time (configuration ah, SSH key ah, Fq download Ah, Ben collapsed). Then it was finished with desktop.

1. Download

Can be downloaded on the official website, https://desktop.github.com/.
My FQ speed is too slow, recruit an offline installation package, pro-test can be used, http://download.csdn.net/detail/nevinblog/9031049

2, the overall interface

Install and open with your GitHub account to log in. (It's important to note that Github for Windows will help you create SSH keys, and you should be able to get mail to help you create SSH keys, which saves a lot of things)
The overall interface is as follows:

Third, the use of Desktop 1, point open the upper left corner of the plus, create a warehouse,

Attention:

① here to pay attention to the download code on the Internet,

Click Clone, choose your account, will appear in your online warehouse items, choose one, hit the Clone repository button.

在网上有的人说可以在网上仓库中点击 按钮“Save ** to your computer and use it in GitHub Desktop.”按钮去同步,但是我没有成功。另外直接“DownLoad zip”到本地 ,然后创建仓库,但是最后public时失败,说我没有权限,(我认为可能是因为本地仓库是我创建的,所以gitHub认为本地的和网上的不是同一个), 不知道有没有大神知道任何解决这个问题,

② in My Computer, its default address is d:\ user directory \ My Documents \github,

Because of the presence of Chinese, my compilation tool thinks it has a problem with the project, so it needs to be moved to the full English path. In particular, the code on the download line will default to this file directory.
This default path is modified in the settings (gear icon) –> Options–>clone Path.

2, create the warehouse complete,

After the warehouse is created, some system files are generated under the local folder. Now you add files under the warehouse, modify files and so on are monitored by the local GitHub client, you can see the prompt in the changes in the upper right corner of the client. Click this prompt to pop up the submission box.

Fill in the log, click the Submit button, the file changes will be recorded, the change in the record will generate a new node.

3. Click the Sync button

Click the Sync button and these changes will be synced to your online repository. (If this is the first time this button is called "Public"). Find the repository in your GitHub account and you'll see that the file has changed since it was refreshed.
It is important to note that if your code is downloaded after fork, but you create a new repository to store it, or change its storage directory, you may fail to publish,

4. Merge Code

If you are modifying someone else's code, there is a merge process. (This process I carry out to the end, if there is a problem please point out, thank you)

Clicking on "Pull Request" will show you the file directory you changed, then click "Create Pull Request" button to confirm

Increase the price of the merger application, fill in the relevant information, click on the submission can be

Iv. Other 1, delete the online warehouse.

(because a lot of test warehouses have been created and need to be deleted, this delete function has been found for a while, this record)

From your profile, click on the item you want to delete and go to the project page. Find the "Setting" button, at the bottom of the Delete button, fill in the name of the item to be deleted, you can delete it.

Original link: http://m.blog.csdn.net/article/details?id=50261857

GitHub Client Desktop Installation Usage Summary---basics

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.