Git Tutorial Summary

Source: Internet
Author: User
Tags commit svn

In the evening, I read the git tutorial of Liaoche teacher quickly, record the learning knowledge and believe that I can use it later in my work.

First, install and create git

Installation method see the previous blog post, it is worth noting that the tutorial introduced the first to create a local git library, and then synchronize the GitHub library method.

Second, time shuttle machine

One of the differences between Git and other version control systems like SVN is the concept of staging area. When you create a git repository, Git automatically creates a unique master branch for us, so now commits are committing changes to the master branch.


The git add command actually puts all the changes you want to commit to staging area (Stage), and then executes git commit to commit all the staging area changes to the branch at once.

Third, branch management

The most important difference between git and SVN, and the best place to use it, is the related functions of branch management.

GIT encourages a large number of branches, reflecting the benefits of distributed management, specifically referring to teacher Liao's official website and the following image commands.



Iv. build your own git server

It's a good choice if you don't want to be seen on GitHub and want to save money.


The relevant contents of this article refer to Liaoche Teacher's official website http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000

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.