Arrows direction in ProGit book

前端 未结 2 683
予麋鹿
予麋鹿 2020-12-15 01:11

Why on all images that shows queue of commits in Pro Git book arrows leads to the opposite direction?

2条回答
  •  囚心锁ツ
    2020-12-15 01:54

    It's to show the parent relationship. In Git, a particular commit knows about its parent(s), but not necessarily about its children. (Obviously that information can be derived based on the parent links, but I don't think it's stored directly in the commit object.)

提交回复
热议问题