2016-12-18 13:59:44 +00:00
|
|
|
<!--
|
|
|
|
|
|
|
|
# Test a scenario of adding commits to master, then
|
|
|
|
# branching off and adding a few commits to a different
|
|
|
|
# branch, then adding a final commit to master.
|
|
|
|
|
|
|
|
git commit -m "Commit on master"
|
|
|
|
git commit -m "More stuff"
|
|
|
|
|
|
|
|
git branch test-stuff
|
|
|
|
git checkout test-stuff
|
|
|
|
|
|
|
|
git commit -m 'Testing stuff'
|
|
|
|
git commit
|
|
|
|
|
|
|
|
git checkout master
|
|
|
|
git commit
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
2019-08-06 11:51:57 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 190 320">
|
2016-12-18 13:59:44 +00:00
|
|
|
<style type="text/css"><![CDATA[
|
|
|
|
.branch {
|
2016-12-28 21:13:49 +00:00
|
|
|
fill: none;
|
|
|
|
stroke-width: 10;
|
2016-12-31 18:19:50 +00:00
|
|
|
stroke-linecap: round;
|
2016-12-18 13:59:44 +00:00
|
|
|
}
|
|
|
|
.commit {
|
2016-12-28 21:13:49 +00:00
|
|
|
fill: #fff;
|
|
|
|
stroke-width: 5;
|
2016-12-18 13:59:44 +00:00
|
|
|
}
|
2016-12-28 21:13:49 +00:00
|
|
|
.label-tag {
|
|
|
|
fill: #333;
|
|
|
|
}
|
|
|
|
.label-rect {
|
|
|
|
stroke: none;
|
|
|
|
}
|
|
|
|
.label-text {
|
|
|
|
font-family: Inconsolata, Consolas, monospace;
|
2016-12-31 18:19:50 +00:00
|
|
|
font-size: 14px;
|
2016-12-28 21:13:49 +00:00
|
|
|
fill: #fff;
|
|
|
|
stroke: none;
|
|
|
|
}
|
|
|
|
.branch-master {stroke: #002b36; fill: #002b36}
|
|
|
|
.branch-test-stuff {stroke: #268bd2; fill: #268bd2}
|
2016-12-18 13:59:44 +00:00
|
|
|
]]></style>
|
|
|
|
<g class="merge">
|
|
|
|
<g class="branch-test-stuff">
|
2017-01-12 22:31:50 +00:00
|
|
|
<path class="branch" d="M0,100 C50,100 50,100 50,150" />
|
2019-08-06 11:51:57 +00:00
|
|
|
<path class="branch" d="M50,200 L50,300" />
|
2017-01-12 22:31:50 +00:00
|
|
|
</g>
|
|
|
|
<g class="branch-master">
|
|
|
|
<path class="branch" d="M0,0 C0,0 0,0 0,50" />
|
2019-08-06 11:51:57 +00:00
|
|
|
<path class="branch" d="M0,250 L0,300" />
|
2016-12-18 13:59:44 +00:00
|
|
|
</g>
|
|
|
|
</g>
|
|
|
|
<g class="branch-test-stuff">
|
2017-01-12 22:31:50 +00:00
|
|
|
<path class="branch" d="M50,150 L50,200" />
|
2016-12-18 13:59:44 +00:00
|
|
|
<circle class="commit" cx="50" cy="150" r="7.5" />
|
2017-01-12 22:31:50 +00:00
|
|
|
<circle class="commit" cx="50" cy="200" r="7.5" />
|
|
|
|
<g class="label-branch" transform="translate(100,200)">
|
|
|
|
<rect x="0" y="-14" width="80" height="24" rx="3" class="label-rect" />
|
2018-01-13 14:14:55 +00:00
|
|
|
<text x="5" y="2" textLength="70" class="label-text">test-stuff</text>
|
2016-12-28 21:13:49 +00:00
|
|
|
</g>
|
2016-12-18 13:59:44 +00:00
|
|
|
</g>
|
|
|
|
<g class="branch-master">
|
2017-01-12 22:31:50 +00:00
|
|
|
<path class="branch" d="M0,50 L0,250" />
|
2016-12-18 13:59:44 +00:00
|
|
|
<circle class="commit" cx="0" cy="50" r="7.5" />
|
2017-01-12 22:31:50 +00:00
|
|
|
<circle class="commit" cx="0" cy="100" r="7.5" />
|
|
|
|
<circle class="commit" cx="0" cy="250" r="7.5" />
|
|
|
|
<g class="label-branch" transform="translate(100,250)">
|
|
|
|
<rect x="0" y="-14" width="52" height="24" rx="3" class="label-rect" />
|
2018-01-13 14:14:55 +00:00
|
|
|
<text x="5" y="2" textLength="42" class="label-text">master</text>
|
2016-12-28 21:13:49 +00:00
|
|
|
</g>
|
2016-12-18 13:59:44 +00:00
|
|
|
</g>
|
|
|
|
</svg>
|