Skip to content

Commit f1d77b1

Browse files
authored
docs: add bare repositories recipe (#190)
## Summary - New playbook recipe `chapters/recipes/bare-repositories.md` — create, clone, convert, and use bare repos as local remotes - Rewrote Chapter 2 Repository section with before/after explanation of why bare repos exist (Alice-and-Bob scenario) - Three draw.io diagrams with PNG exports: direct push problem, silent overwrite, shared hub solution - New `core.bare` flag subsection explaining how Git enforces push protection - Recipe cross-references chapter for the full explanation, keeps commands only Closes #172 Generated with [Claude Code](https://claude.com/claude-code)
1 parent af89b0d commit f1d77b1

9 files changed

Lines changed: 455 additions & 30 deletions
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<mxfile host="Electron">
2+
<diagram id="bare-after" name="After — bare repo as hub">
3+
<mxGraphModel dx="1094" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="780" pageHeight="340" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
8+
<mxGeometry height="320" width="760" x="10" y="10" as="geometry" />
9+
</mxCell>
10+
11+
<!-- Alice zone -->
12+
<mxCell id="zone-alice" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
13+
<mxGeometry height="270" width="200" x="30" y="30" as="geometry" />
14+
</mxCell>
15+
<mxCell id="label-alice" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Alice (non-bare)" vertex="1">
16+
<mxGeometry height="20" width="150" x="40" y="35" as="geometry" />
17+
</mxCell>
18+
<mxCell id="box-alice-wt" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working&lt;br&gt;Tree" vertex="1">
19+
<mxGeometry height="70" width="160" x="50" y="65" as="geometry" />
20+
</mxCell>
21+
<mxCell id="box-alice-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/" vertex="1">
22+
<mxGeometry height="70" width="160" x="50" y="155" as="geometry" />
23+
</mxCell>
24+
25+
<!-- Shared hub zone -->
26+
<mxCell id="zone-bare" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#EAF1F5;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
27+
<mxGeometry height="270" width="210" x="280" y="30" as="geometry" />
28+
</mxCell>
29+
<mxCell id="label-bare" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Shared hub (bare)" vertex="1">
30+
<mxGeometry height="20" width="160" x="290" y="35" as="geometry" />
31+
</mxCell>
32+
<mxCell id="box-bare" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="objects + refs&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;no working tree&lt;/i&gt;" vertex="1">
33+
<mxGeometry height="70" width="170" x="300" y="120" as="geometry" />
34+
</mxCell>
35+
36+
<!-- Bob zone -->
37+
<mxCell id="zone-bob" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
38+
<mxGeometry height="270" width="200" x="540" y="30" as="geometry" />
39+
</mxCell>
40+
<mxCell id="label-bob" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Bob (non-bare)" vertex="1">
41+
<mxGeometry height="20" width="150" x="550" y="35" as="geometry" />
42+
</mxCell>
43+
<mxCell id="box-bob-wt" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working&lt;br&gt;Tree" vertex="1">
44+
<mxGeometry height="70" width="160" x="560" y="65" as="geometry" />
45+
</mxCell>
46+
<mxCell id="box-bob-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/" vertex="1">
47+
<mxGeometry height="70" width="160" x="560" y="155" as="geometry" />
48+
</mxCell>
49+
50+
<!-- Push arrow (Bob → bare) -->
51+
<mxCell id="arr-bob-push" edge="1" parent="1" source="box-bob-git" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;" target="box-bare" vertex="1">
52+
<mxGeometry relative="1" as="geometry" />
53+
</mxCell>
54+
<mxCell id="label-bob-push" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;" value="push" vertex="1">
55+
<mxGeometry height="18" width="50" x="490" y="172" as="geometry" />
56+
</mxCell>
57+
58+
<!-- Pull arrow (bare → Alice) -->
59+
<mxCell id="arr-alice-pull" edge="1" parent="1" source="box-bare" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="box-alice-git" vertex="1">
60+
<mxGeometry relative="1" as="geometry" />
61+
</mxCell>
62+
<mxCell id="label-alice-pull" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;" value="pull" vertex="1">
63+
<mxGeometry height="18" width="50" x="240" y="140" as="geometry" />
64+
</mxCell>
65+
<mxCell id="label-alice-ready" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=11;fontStyle=2;fontColor=#5F5E5A;fontFamily=Helvetica;" value="(when ready)" vertex="1">
66+
<mxGeometry height="18" width="80" x="235" y="155" as="geometry" />
67+
</mxCell>
68+
</root>
69+
</mxGraphModel>
70+
</diagram>
71+
</mxfile>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<mxfile host="Electron">
2+
<diagram id="bare-before" name="Before — direct push">
3+
<mxGraphModel dx="1094" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="700" pageHeight="360" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
8+
<mxGeometry height="340" width="680" x="10" y="10" as="geometry" />
9+
</mxCell>
10+
11+
<!-- Alice zone -->
12+
<mxCell id="zone-alice" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
13+
<mxGeometry height="280" width="270" x="30" y="30" as="geometry" />
14+
</mxCell>
15+
<mxCell id="label-alice" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Alice (non-bare)" vertex="1">
16+
<mxGeometry height="20" width="150" x="40" y="35" as="geometry" />
17+
</mxCell>
18+
<mxCell id="box-alice-wt" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working Tree&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;files from commit A&lt;br&gt;+ uncommitted edits&lt;/i&gt;" vertex="1">
19+
<mxGeometry height="80" width="230" x="50" y="65" as="geometry" />
20+
</mxCell>
21+
<mxCell id="box-alice-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;main → commit B&lt;br&gt;(moved by push)&lt;/i&gt;" vertex="1">
22+
<mxGeometry height="80" width="230" x="50" y="165" as="geometry" />
23+
</mxCell>
24+
25+
<!-- Out of sync label -->
26+
<mxCell id="label-desync" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=12;fontStyle=1;fontColor=#A32D2D;fontFamily=Helvetica;" value="⚠ OUT OF SYNC" vertex="1">
27+
<mxGeometry height="20" width="140" x="95" y="152" as="geometry" />
28+
</mxCell>
29+
30+
<!-- Bob zone -->
31+
<mxCell id="zone-bob" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FAF4E8;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
32+
<mxGeometry height="280" width="270" x="390" y="30" as="geometry" />
33+
</mxCell>
34+
<mxCell id="label-bob" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;" value="Bob (non-bare)" vertex="1">
35+
<mxGeometry height="20" width="150" x="400" y="35" as="geometry" />
36+
</mxCell>
37+
<mxCell id="box-bob-wt" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value="Working Tree" vertex="1">
38+
<mxGeometry height="80" width="230" x="410" y="65" as="geometry" />
39+
</mxCell>
40+
<mxCell id="box-bob-git" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=1;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=middle;align=center;arcSize=10;" value=".git/&lt;br&gt;&lt;i style=&quot;font-weight:normal;color:#5F5E5A&quot;&gt;main → commit B&lt;/i&gt;" vertex="1">
41+
<mxGeometry height="80" width="230" x="410" y="165" as="geometry" />
42+
</mxCell>
43+
44+
<!-- Push arrow (red, from Bob's .git to Alice's .git) -->
45+
<mxCell id="arr-push" edge="1" parent="1" source="box-bob-git" style="endArrow=classic;html=1;strokeColor=#A32D2D;strokeWidth=1.5;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="box-alice-git" vertex="1">
46+
<mxGeometry relative="1" as="geometry" />
47+
</mxCell>
48+
<mxCell id="label-push" parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=bottom;fontSize=11;fontStyle=0;fontColor=#A32D2D;fontFamily=Courier New;" value="git push" vertex="1">
49+
<mxGeometry height="18" width="70" x="315" y="190" as="geometry" />
50+
</mxCell>
51+
</root>
52+
</mxGraphModel>
53+
</diagram>
54+
</mxfile>
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<mxfile host="Electron">
2+
<diagram id="bare-overwrite" name="Silent overwrite of commit B">
3+
<mxGraphModel dx="1094" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="760" pageHeight="380" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="bg-card" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;arcSize=5;" value="" vertex="1">
8+
<mxGeometry height="360" width="740" x="10" y="10" as="geometry" />
9+
</mxCell>
10+
11+
<!-- Commit A -->
12+
<mxCell id="card-a" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=0;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=top;align=center;arcSize=8;" value="&lt;b&gt;Commit A&lt;/b&gt;&lt;br&gt;&lt;i style=&quot;color:#5F5E5A&quot;&gt;original&lt;/i&gt;" vertex="1">
13+
<mxGeometry height="200" width="180" x="40" y="40" as="geometry" />
14+
</mxCell>
15+
<mxCell id="file-a-readme" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="readme.md" vertex="1">
16+
<mxGeometry height="30" width="140" x="60" y="100" as="geometry" />
17+
</mxCell>
18+
<mxCell id="file-a-config" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="config.txt" vertex="1">
19+
<mxGeometry height="30" width="140" x="60" y="140" as="geometry" />
20+
</mxCell>
21+
<mxCell id="file-a-report" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="report.txt" vertex="1">
22+
<mxGeometry height="30" width="140" x="60" y="180" as="geometry" />
23+
</mxCell>
24+
25+
<!-- Commit B -->
26+
<mxCell id="card-b" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=0;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=top;align=center;arcSize=8;" value="&lt;b&gt;Commit B&lt;/b&gt;&lt;br&gt;&lt;i style=&quot;color:#5F5E5A&quot;&gt;Bob&lt;/i&gt;" vertex="1">
27+
<mxGeometry height="200" width="180" x="280" y="40" as="geometry" />
28+
</mxCell>
29+
<mxCell id="file-b-readme" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="readme.md" vertex="1">
30+
<mxGeometry height="30" width="140" x="300" y="100" as="geometry" />
31+
</mxCell>
32+
<mxCell id="file-b-config" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#15803D;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="config.txt ✎" vertex="1">
33+
<mxGeometry height="30" width="140" x="300" y="140" as="geometry" />
34+
</mxCell>
35+
<mxCell id="file-b-report" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="report.txt" vertex="1">
36+
<mxGeometry height="30" width="140" x="300" y="180" as="geometry" />
37+
</mxCell>
38+
39+
<!-- Commit C -->
40+
<mxCell id="card-c" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#F1F1F1;strokeColor=#888888;strokeWidth=0.5;shadow=0;fontSize=12;fontStyle=0;fontColor=#2C2C2A;fontFamily=Helvetica;verticalAlign=top;align=center;arcSize=8;" value="&lt;b&gt;Commit C&lt;/b&gt;&lt;br&gt;&lt;i style=&quot;color:#5F5E5A&quot;&gt;Alice&lt;/i&gt;" vertex="1">
41+
<mxGeometry height="200" width="180" x="520" y="40" as="geometry" />
42+
</mxCell>
43+
<mxCell id="file-c-readme" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#D3D1C7;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#2C2C2A;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="readme.md" vertex="1">
44+
<mxGeometry height="30" width="140" x="540" y="100" as="geometry" />
45+
</mxCell>
46+
<mxCell id="file-c-config" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FCEBEB;strokeColor=#A32D2D;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#791F1F;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="config.txt ⚠" vertex="1">
47+
<mxGeometry height="30" width="140" x="540" y="140" as="geometry" />
48+
</mxCell>
49+
<mxCell id="file-c-report" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=1;fontColor=#15803D;fontFamily=Courier New;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="report.txt ✎" vertex="1">
50+
<mxGeometry height="30" width="140" x="540" y="180" as="geometry" />
51+
</mxCell>
52+
53+
<!-- Parent arrows (child → parent) -->
54+
<mxCell id="arr-b-a" edge="1" parent="1" source="card-b" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="card-a" vertex="1">
55+
<mxGeometry relative="1" as="geometry" />
56+
</mxCell>
57+
<mxCell id="arr-c-b" edge="1" parent="1" source="card-c" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" target="card-b" vertex="1">
58+
<mxGeometry relative="1" as="geometry" />
59+
</mxCell>
60+
61+
<!-- Main pill pointing to C -->
62+
<mxCell id="pill-main" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DBEAFE;strokeColor=#2563EB;strokeWidth=0.5;arcSize=20;shadow=0;fontSize=12;fontStyle=1;fontColor=#1E40AF;fontFamily=Helvetica;verticalAlign=middle;align=center;" value="main" vertex="1">
63+
<mxGeometry height="28" width="60" x="580" y="252" as="geometry" />
64+
</mxCell>
65+
<mxCell id="arr-main-c" edge="1" parent="1" source="pill-main" style="endArrow=classic;html=1;strokeColor=#444441;strokeWidth=1;endFill=1;endSize=6;dashed=1;dashPattern=4 3;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" target="card-c" vertex="1">
66+
<mxGeometry relative="1" as="geometry" />
67+
</mxCell>
68+
69+
<!-- Legend -->
70+
<mxCell id="legend-changed" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#DCFCE7;strokeColor=#16A34A;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#15803D;fontFamily=Helvetica;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="✎ changed in this commit" vertex="1">
71+
<mxGeometry height="26" width="190" x="40" y="290" as="geometry" />
72+
</mxCell>
73+
<mxCell id="legend-reverted" parent="1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#FCEBEB;strokeColor=#A32D2D;strokeWidth=0.5;shadow=0;fontSize=11;fontStyle=0;fontColor=#791F1F;fontFamily=Helvetica;verticalAlign=middle;align=left;arcSize=5;spacingLeft=8;" value="⚠ Bob's change silently reverted" vertex="1">
74+
<mxGeometry height="26" width="230" x="250" y="290" as="geometry" />
75+
</mxCell>
76+
</root>
77+
</mxGraphModel>
78+
</diagram>
79+
</mxfile>

assets/images/git-bare-after.png

35.9 KB
Loading

assets/images/git-bare-before.png

46 KB
Loading
42.5 KB
Loading

0 commit comments

Comments
 (0)