Git log -- oneline -- Graph reading Method

Source: Internet
Author: User

 

The asterisk indicates the branch of the submission;

The leftmost straight line indicates the Historical Status of the current branch. From the figure, the current branch head is the master branch, and the submission history is: 8cfbb25 <-- d486463 <-- a88c595 <-- fc46826 <-- 275823b <-- 5d66385 <-- 33c6d2e

Next, let's take a look at the non-current branch situation. The method is to follow the starting point of the branch (where the branch name is located) and start to follow the curve down. In the case of a fork (the asterisk is called a fork, to the leftmost

Next let's take a look at the submission history of the next branch test1: d486463 <-- bb7cb66 <-- ac202c8 <-- 8e64613 (test1)

Next let's take a look at the submission history of the next branch Test2: d486463 <-- 811c466 <-- f3553f4 (Test2)

 

 

Switch to the test1 branch and check the master branch: <-- d486463 <-- a88c595 <-- fc46826 <-- 275823b <-- 5d66385 <-- 33c6d2e (master)

 

Git log -- oneline -- Graph reading Method

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.