如何绘制(可视化)git 工作流程

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27359934/
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:44:10  来源:igfitidea点击:

How to draw (visualise) git workflows

gitworkflow

提问by Zsolt Szilagyi

You sure know those nice git timeline charts, visualising a git branching strategy and workflow.

你肯定知道那些漂亮的 git 时间线图表,可视化 git 分支策略和工作流程。

I created a git workflow based upon the specific needs of a customer. To hand over my work, I′d prefer not to scan my drawings, nor to fiddle with photoshop. Are there any free tools to create those? (i.e. sure they are - but are any of these especcially well suited for the task?) Ideally theye are web-based, or at least easy to learn for such a one-time-occasion. (No, LaTeX isn′t :) )

我根据客户的特定需求创建了一个 git 工作流。为了交出我的作品,我宁愿不扫描我的图纸,也不愿意摆弄photoshop。有没有免费的工具来创建这些?(即确定它们是 - 但是这些中的任何一个都特别适合这项任务吗?)理想情况下,它们是基于网络的,或者至少在这种一次性场合容易学习。(不,LaTeX 不是 :) )

Thanks!

谢谢!

回答by naXa

You can describe your flow using JS code. Here is GitGraph.js

您可以使用 JS 代码描述您的流程。这是GitGraph.js

- a simple JavaScript library which is meant to help you visually presenting git branching stuff like a git workflow, a tricky git command or whatever git tree you'd have in mind.

- 一个简单的 JavaScript 库,旨在帮助您直观地呈现 git 分支内容,例如 git 工作流、棘手的 git 命令或您想到的任何 git 树。

GitGraph.js - template "metro"

GitGraph.js - 模板“地铁”

回答by mik01aj

There are:

有:

  • yWorks- 免费 (Java)
  • LucidChart- 基于网络
  • draw.io- 基于网络的、免费的、开源的
  • OmniGraffle - 仅限 mac,付费免费试用,我个人的最爱
  • 微软视觉

...to name just a few. There's a lot of GUI tools for this.

...仅举几例。有很多用于此的 GUI 工具。

If you'd like to write some code and generate pictures out of it, take a look at GraphViz or Ditaa.

如果您想编写一些代码并从中生成图片,请查看 GraphViz 或 Ditaa。