Experience with Git for code management--github for Windows

Source: Internet
Author: User

Let's start with a brief description of Git's code management.

I'm using github for Windows, and the website is too slow to download, so I used an offline installer package. After installation there will be GitHub and Gitshell two software, including GitHub with a graphical interface, Gitshell command line control interface, after installation as follows:

Use process

If> The following procedures are used in the Gtihub graphical interface

After reviewing some tutorials and using them yourself, summarize the approximate idea:

    1. First, you can create your own code warehouse on the GitHub site, which is assumed to be a code warehouse R1(which can also be created directly from the GitHub graphical interface) as follows:
    2. You can then use the clone function to copy the code repository locally, that is, to generate the same R2 as R1, which is called the branch(branching idea), in the clone can choose the corresponding local folder, You can then see what has been clone on the list:
    3. Put the file you want to upload into the previously selected folder, this time open GitHub GUI, (each file changes can see the commit change button) can see the new commit commit option, this step commit to the local code warehouse R2, At the same time, you can comment on the modified place
    4. Confirm that you submit the code is correct, you can sync to the Code warehousevia button sync R1, this step is a branch merge, should be push, the first branch by default is master, if you need more people to manage the project, and do not interfere with each other, you can create a new branch, Merge when the final confirmation is correct.
    5. After the upload is successful, you can view it on GitHub.
Experience
    1. Branch is easy to use. Management and development of team projects
    2. Fork function facilitates learning to apply someone else's code
    3. Well, next time try it with the command line, or I'm too low.

This project code upload GitHub code library address: Click to go

Experience with Git for code management--github for Windows

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.