In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to look at the git history submission record". The explanation content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to look at the git history submission record.
1. Take openstack nova as an example:
2 、 clone nova:
3. Use git gui to open:
4. Open the submission log history of git gui:
5. Starting with init commit, analyze:
When you click initial commit, the submission status information appears below:
SHA1: the unique identification code for the current state
Child: indicates that the state has a child state
Branchs: the branch that extends in this state
Let's give another example:
As you can see in the picture above:
Parent: indicates from which state the state is extended
Child: there are three children found here, so this extends back from there, and there are three points of direct connection to the current stage.
The tag of the current state is 2014.1.2
Follows: the preorder tag is 2014.1.1
Precedes: the subsequent tag is 2014.1.3
6. Simple use of git gui history submission:
As you can see from the picture above, each line of text on the right corresponds to a small blue dot on the left. (each blue dot represents a submission or a tag)
So click on the right text description he and click on the corresponding commit blue dot to have the same effect.
Note: do not interfere with the upward and downward arrows, which have nothing to do with the text description on the right.
So what is the use of small arrows?
Figure 6-1
Click on the orange arrow above, and a Parent and two Children appear below.
Look for Parent56a58cc42100ffdc5287e153ce6bf6d10f52637b:
Figure 6-2
Go back to figure 6-1.
Look for Children:b10dac3ae0e8be0f12538d9d2c06064878fa24d6:
As you can see from the image above, Children jumps to the next branch. However, there is a downward arrow at the beginning of the branch.
At this point, you can clearly understand the role of arrowheads.
Up arrow: indicates that the current branch has a child branch, which is elsewhere (it is just not convenient to draw on the picture)
Down arrow: indicates that the current branch extends from a previous branch.
Thank you for your reading, the above is the content of "how to look at the git history submission record". After the study of this article, I believe you have a deeper understanding of how to view the git history submission record, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.