2020-10-22 21:40:08 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link
|
|
|
|
href="https://fonts.googleapis.com/css?family=Montserrat&display=swap"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
body {
|
2022-03-03 19:58:43 +01:00
|
|
|
/* background: rgb(221, 208, 208); */
|
2022-03-17 20:07:27 +01:00
|
|
|
background:#111;
|
|
|
|
/* background:#333; */
|
2020-10-22 21:40:08 +02:00
|
|
|
font-family: 'Arial';
|
|
|
|
}
|
2022-03-03 19:58:43 +01:00
|
|
|
/* h1 { color: white;} */
|
2020-10-22 21:40:08 +02:00
|
|
|
.mermaid2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.customCss > rect, .customCss{
|
|
|
|
fill:#FF0000 !important;
|
|
|
|
stroke:#FFFF00 !important;
|
|
|
|
stroke-width:4px !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>info below</h1>
|
2022-03-24 20:25:22 +01:00
|
|
|
<div class="mermaid" style="width: 100%; height: 20%;">
|
2020-10-22 21:40:08 +02:00
|
|
|
gitGraph:
|
|
|
|
commit "Ashish"
|
|
|
|
branch newbranch
|
|
|
|
checkout newbranch
|
|
|
|
commit id:"1111"
|
|
|
|
commit tag:"test"
|
2022-03-24 17:32:50 +01:00
|
|
|
checkout main
|
2020-10-22 21:40:08 +02:00
|
|
|
commit type: HIGHLIGHT
|
|
|
|
commit
|
|
|
|
merge newbranch
|
|
|
|
commit
|
|
|
|
branch b2
|
|
|
|
commit
|
2022-03-03 17:29:14 +01:00
|
|
|
|
2020-10-22 21:40:08 +02:00
|
|
|
</div>
|
2022-03-24 20:25:22 +01:00
|
|
|
<div class="mermaid" style="width: 100%; height: 20%;">
|
2022-02-24 18:40:22 +01:00
|
|
|
gitGraph:
|
|
|
|
commit
|
2022-03-03 17:29:14 +01:00
|
|
|
branch hotfix
|
|
|
|
checkout hotfix
|
|
|
|
commit
|
2022-02-24 18:40:22 +01:00
|
|
|
branch develop
|
|
|
|
checkout develop
|
2022-02-24 19:54:28 +01:00
|
|
|
commit id:"ash" tag:"abc"
|
2022-02-24 18:40:22 +01:00
|
|
|
branch featureB
|
|
|
|
checkout featureB
|
2022-02-24 19:54:28 +01:00
|
|
|
commit type:HIGHLIGHT
|
2022-03-24 17:32:50 +01:00
|
|
|
checkout main
|
2022-02-24 18:40:22 +01:00
|
|
|
checkout hotfix
|
2022-02-24 19:54:28 +01:00
|
|
|
commit type:NORMAL
|
2022-02-24 18:40:22 +01:00
|
|
|
checkout develop
|
2022-02-24 19:54:28 +01:00
|
|
|
commit type:REVERSE
|
2022-02-24 18:40:22 +01:00
|
|
|
checkout featureB
|
|
|
|
commit
|
2022-03-24 17:32:50 +01:00
|
|
|
checkout main
|
2022-02-24 18:40:22 +01:00
|
|
|
merge hotfix
|
|
|
|
checkout featureB
|
|
|
|
commit
|
|
|
|
checkout develop
|
|
|
|
branch featureA
|
|
|
|
commit
|
|
|
|
checkout develop
|
|
|
|
merge hotfix
|
|
|
|
checkout featureA
|
|
|
|
commit
|
|
|
|
checkout featureB
|
|
|
|
commit
|
|
|
|
checkout develop
|
|
|
|
merge featureA
|
|
|
|
branch release
|
|
|
|
checkout release
|
|
|
|
commit
|
2022-03-24 17:32:50 +01:00
|
|
|
checkout main
|
2022-02-24 18:40:22 +01:00
|
|
|
commit
|
|
|
|
checkout release
|
2022-03-24 17:32:50 +01:00
|
|
|
merge main
|
2022-02-24 18:40:22 +01:00
|
|
|
checkout develop
|
|
|
|
merge release
|
2022-03-03 17:29:14 +01:00
|
|
|
|
2022-02-24 18:40:22 +01:00
|
|
|
</div>
|
2022-03-24 20:25:22 +01:00
|
|
|
<div class="mermaid2" style="width: 100%; height: 20%;">
|
2020-10-22 21:40:08 +02:00
|
|
|
gitGraph:
|
|
|
|
commit
|
|
|
|
commit
|
|
|
|
branch newbranch
|
|
|
|
commit
|
2022-03-24 17:43:23 +01:00
|
|
|
merge main
|
2020-10-22 21:40:08 +02:00
|
|
|
</div>
|
|
|
|
<script src="./mermaid.js"></script>
|
|
|
|
<script>
|
|
|
|
mermaid.parseError = function (err, hash) {
|
2022-02-24 18:40:22 +01:00
|
|
|
// console.error('Mermaid error: ', err);
|
|
|
|
};
|
2020-10-22 21:40:08 +02:00
|
|
|
mermaid.initialize({
|
2022-03-03 19:58:43 +01:00
|
|
|
theme: 'base',
|
2022-03-17 20:07:27 +01:00
|
|
|
themeVariables: {
|
|
|
|
primaryColor: '#9400D3',
|
|
|
|
darkMode: true,
|
|
|
|
// background: '#222',
|
|
|
|
textColor: 'white',
|
|
|
|
primaryTextColor: '#f4f4f4',
|
|
|
|
|
|
|
|
// nodeBkg: '#ff0000',
|
|
|
|
// mainBkg: '#0000ff',
|
|
|
|
// tertiaryColor: '#ffffcc',
|
|
|
|
},
|
|
|
|
// theme: 'forest',
|
|
|
|
// theme: 'neutral',
|
|
|
|
// theme: 'dark',
|
2020-10-22 21:40:08 +02:00
|
|
|
// arrowMarkerAbsolute: true,
|
|
|
|
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
|
2022-02-24 18:40:22 +01:00
|
|
|
logLevel: 1,
|
|
|
|
flowchart: { curve: 'linear', htmlLabels: true },
|
2020-10-22 21:40:08 +02:00
|
|
|
// gantt: { axisFormat: '%m/%d/%Y' },
|
|
|
|
sequence: { actorMargin: 50, showSequenceNumbers: true },
|
|
|
|
// sequenceDiagram: { actorMargin: 300 } // deprecated
|
|
|
|
// fontFamily: '"arial", sans-serif',
|
|
|
|
// themeVariables: {
|
|
|
|
// fontFamily: '"arial", sans-serif',
|
|
|
|
// },
|
|
|
|
curve: 'linear',
|
2022-02-24 18:40:22 +01:00
|
|
|
securityLevel: 'loose',
|
2020-10-22 21:40:08 +02:00
|
|
|
});
|
2022-02-24 18:40:22 +01:00
|
|
|
function callback() {
|
|
|
|
alert('It worked');
|
|
|
|
}
|
2020-10-22 21:40:08 +02:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|