简体   繁体   中英

Visualize branches on GitHub

In TortoiseGit, gitk or on BitBucket, it is common to have a visualization of the project history with all the branches, like this:

在此处输入图像描述

However, GutHub's commit history seems to be flat, at least I couldn't find a way to display this kind of graph. Can the GitHub's web UI somehow visualize branches like other Git clients commonly can?

You can see a graph, but without commit messages in Insights => Network section (commit messages with authors are shown on hover).

Example: https://github.com/google/orbit/network 网络图

You could use Le Git Graph, a browser extension that does exactly this.

截屏

Install the extension from here: https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff

It will add a new "commits" section to every GitHub repo you open. Open the commits graph and there, all commits across branches will be listed along with the git graph.

截图2

Hope it helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM