git 在 GitHub 上可视化分支

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27469952/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 02:45:28  来源:igfitidea点击:

Visualize branches on GitHub

gitgithubbranch

提问by Borek Bernard

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

在 TortoiseGit、gitk 或 BitBucket 中,通常将所有分支的项目历史可视化,如下所示:

enter image description here

在此处输入图片说明

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?

然而,GutHub 的提交历史似乎是平的,至少我找不到一种方法来显示这种图表。GitHub 的 Web UI 能否像其他 Git 客户端通常那样以某种方式可视化分支?

回答by Ruslan Ostafiichuk

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

您可以看到一个图表,但在Insights=>Network部分中没有提交消息(悬停时会显示带有作者的提交消息)。

Example: https://github.com/google/orbit/networkNetwork grap

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