Relationship between n git branches

后端 未结 2 1443
北恋
北恋 2020-12-13 00:52

If I have n git branches, how do I easily show the relationship between these branches?

Basically I am interested in seeing a tree of a subset of al

2条回答
  •  [愿得一人]
    2020-12-13 01:23

    You can give this a try:

    git log --graph --all --decorate --simplify-by-decoration
    

    It will only show commits that are branch heads or tagged.

提交回复
热议问题