Add a draft introduction to Git from graphs

This commit is contained in:
Dimitri Lozeve 2021-03-01 20:01:38 +01:00
parent 822d0f1ae0
commit f7aae0452f
24 changed files with 2849 additions and 0 deletions

View file

@ -0,0 +1,36 @@
digraph repo_labels {
rankdir = "LR";
bgcolor = "transparent";
node[width=0.15, height=0.15, shape=point, color=white, fontcolor=white];
edge[weight=2, arrowhead=normal, arrowsize=0.6, color=white];
define(`digraph', `subgraph')
include(`master.dot')
include(`merged.dot')
include(`bugfix.dot')
m9 -> b1;
node[group=featurebefore, color=red];
edge[color=red];
fb1 -> fb2 -> fb3;
m7 -> fb1;
node[group=feature, color=green];
edge[color=green];
f1 -> f2 -> f3;
m10 -> f1;
node[shape=box, color=white, fontname="monospace"];
edge[color=white];
subgraph labels {
rank = "max";
HEAD [style=dashed];
master;
feature;
bugfix;
}
edge[arrowhead=none, style=dashed];
f3 -> HEAD;
m10 -> master;
f3 -> feature;
b2 -> bugfix;
}