- Git Essentials(Second Edition)
- Ferdinando Santacroce
- 169字
- 2021-07-02 15:27:08
Branches are movable labels
We have seen in the previous sections how the commits are linked to each other by a parent-and-son relationship: each commit contains a reference to the previous commit.
This means that, for example, to navigate within a repository I cannot start from the first commit and try to go to the next, because a commit has no reference to who comes next, but to who comes first. By staying in our arboreal metaphor, this means that our tree is only navigable from leaves, from the extreme top of a branch, and then down to root-commit.
So, branches are nothing but labels that are on the tip commit, the last one. This commit, our leaf, must always be identified by a label so that its ancestors commits can be reached while browsing within a repository. Otherwise, we should remember for every branch of our repository the hash code of the tip commit, and you can imagine how easy it would be for humans.
- Python數據分析與挖掘實戰
- 醫療大數據挖掘與可視化
- Lean Mobile App Development
- Dependency Injection with AngularJS
- 大數據Hadoop 3.X分布式處理實戰
- 基于Apache CXF構建SOA應用
- 數亦有道:Python數據科學指南
- 深入淺出Greenplum分布式數據庫:原理、架構和代碼分析
- MATLAB Graphics and Data Visualization Cookbook
- 高維數據分析預處理技術
- 云數據中心網絡與SDN:技術架構與實現
- Splunk智能運維實戰
- Spring MVC Beginner’s Guide
- Access數據庫開發從入門到精通
- Oracle 11g+ASP.NET數據庫系統開發案例教程