Showing branch hierarchy at the command line?

后端 未结 6 1660
攒了一身酷
攒了一身酷 2021-01-29 23:53

I\'m curious if there is a way to show branch hierarchy on the command line? For instance if I use git branch, instead of seeing output like this:

*         


        
6条回答
  •  粉色の甜心
    2021-01-30 00:39

    Just type gitk command and press enter.

    For me gitk is the easiest solution for this. Though it will not show you command mode, it will automatically populate a nice UI like this :

提交回复
热议问题