graphe incluant tree et blob
This commit is contained in:
@@ -95,6 +95,29 @@ $ tree .git/objects/
|
|||||||
8 directories, 6 files
|
8 directories, 6 files
|
||||||
----
|
----
|
||||||
|
|
||||||
|
=== !
|
||||||
|
|
||||||
|
[graphviz,git-graph-complete,svg]
|
||||||
|
----
|
||||||
|
digraph g {
|
||||||
|
rankdir = LR
|
||||||
|
node[group=master];
|
||||||
|
1 -> 2 -> 3 -> 4 -> 7
|
||||||
|
node[group=branch];
|
||||||
|
5 [label = "commit 5"]
|
||||||
|
2 -> 5 -> 6
|
||||||
|
node[group=tree]
|
||||||
|
tree5 [label = "tree 5"]
|
||||||
|
5 -> tree5 [label="1"]
|
||||||
|
tree5 -> blob [label = "1..n"]
|
||||||
|
node[group=refs shape=note style=filled fillcolor=yellow];
|
||||||
|
edge[arrowhead = none style=dotted]
|
||||||
|
7 -> master
|
||||||
|
6 -> relecture
|
||||||
|
master -> HEAD
|
||||||
|
}
|
||||||
|
----
|
||||||
|
|
||||||
=== Exercice
|
=== Exercice
|
||||||
|
|
||||||
Prenons le dépôt https://github.com/Taeradan/hahp :
|
Prenons le dépôt https://github.com/Taeradan/hahp :
|
||||||
|
|||||||
Reference in New Issue
Block a user