How to get information where branch starts?

前端 未结 3 960
没有蜡笔的小新
没有蜡笔的小新 2020-12-30 15:11

As far as I know, commit object contains information only about parents, so if I have situation something like this:

 *  branch-1
 |
 o
 |
 o  master
 |
 o 
         


        
3条回答
  •  南笙
    南笙 (楼主)
    2020-12-30 15:29

    I guess you looking for

    git log --graph --oneline --all
    

    Check this thread out for a more detailed explaination. Stackoverflow answer

提交回复
热议问题