sourcetree - How to understand git graph?
阿神
阿神 2017-05-02 09:42:54
0
1
830


As shown in the picture, how do you view the graph on sourcetre? I searched for an hour but couldn’t find any relevant articles

阿神
阿神

闭关修行中......

reply all(1)
仅有的幸福

I know it may be too absolute to say this, so let’s understand it this way at the beginning

First of all, each line is a branch, and each point is a commit (submission record)

I think the leftmost one is the main trunk.

This means that a historical commit on the trunk is merged into the yellow branch -- git merge {sha}

This means that the contents of the yellow branch have been merged into the trunk -- git merge

This means a new branch is created from this point on the trunk -- git checkout -b

This means that the main content is merged into the new branch -- git merge

Build a repo by yourself, create a few more branches, and then come back to merge and rebase after modifications. You will understand after playing for a weekend

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template