blob: 1fa6e3976c6b7b34a529027c677afc3d02be5b94 [file] [log] [blame]
Detached HEAD - Committing Changes
----------------------------------
* it is possible to commit changes even when HEAD is detached
* however, no branch will be updated
* `HEAD` is updated - and stays detached
[[graph-left0]]
--
[graphviz]
----
digraph {
node [style=bold, shape=circle, color="#385d8a", fontname=arial, fontsize=18]
edge [style=bold, color="#385d8a", arrowhead=none]
F -> E
E -> B [weight=0]
D -> C -> B -> A
edge [arrowhead=normal]
node [shape=box, style=filled, fillcolor=lightgrey, color=black]
HEAD [fillcolor="#555555", fontcolor=white]
"origin/release1.0" [fillcolor=lightskyblue]
"origin/master" [fillcolor=lightskyblue]
HEAD
HEAD -> F
master -> D
"origin/release1.0" -> F
"origin/master" -> D
{ rank=same; F; D; master; "origin/release1.0" }
{ rank=same; E; C }
{ ranke=same; "origin/master"; HEAD }
D -> F [style=invis]
C -> E [style=invis]
}
----
--
[[graph-right]]
--
[graphviz]
----
digraph {
node [style=bold, shape=circle, color="#385d8a", fontname=arial, fontsize=18]
edge [style=bold, color="#385d8a", arrowhead=none]
G [style=filled, fillcolor=coral1, color=red]
G -> F -> E
E -> B [weight=0]
D -> C -> B -> A
edge [arrowhead=normal]
node [shape=box, style=filled, fillcolor=lightgrey, color=black]
HEAD [fillcolor="#555555", fontcolor=white]
"origin/release1.0" [fillcolor=lightskyblue]
"origin/master" [fillcolor=lightskyblue]
HEAD [color=red, fillcolor=red]
HEAD -> G [color=red]
master -> D
"origin/release1.0" -> F
"origin/master" -> D
{ rank=same; F; D; master; "origin/release1.0" }
{ rank=same; E; C }
D -> F [style=invis]
C -> E [style=invis]
}
----
--