Viewing full version tree in git

前端 未结 5 1178
遇见更好的自我
遇见更好的自我 2020-11-30 16:42

I am using the command line version of Git and gitk. I want to see the full version tree, not just the part that is reachable from the currently checked out version. Is it p

5条回答
  •  鱼传尺愫
    2020-11-30 17:12

    You can try the following:

    gitk --all
    

    You can tell gitk what to display using anything that git rev-list understands, so if you just want a few branches, you can do:

    gitk master origin/master origin/experiment
    

    ... or more exotic things like:

    gitk --simplify-by-decoration --all
    

提交回复
热议问题