2022-03-24 20:25:22 +01:00
|
|
|
<html>
|
|
|
|
<head>
|
2022-09-04 21:18:36 +02:00
|
|
|
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" />
|
2022-03-24 20:25:22 +01:00
|
|
|
<link
|
2022-09-04 21:18:36 +02:00
|
|
|
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"
|
2022-03-24 20:25:22 +01:00
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
/* background: rgb(221, 208, 208); */
|
2022-04-07 18:22:06 +02:00
|
|
|
/* background:#111; */
|
2022-03-24 20:25:22 +01:00
|
|
|
/* background:#333; */
|
|
|
|
font-family: 'Arial';
|
2022-09-04 21:18:36 +02:00
|
|
|
}
|
2022-03-24 20:25:22 +01:00
|
|
|
/* h1 { color: white;} */
|
|
|
|
.mermaid2 {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-04 21:18:36 +02:00
|
|
|
.customCss > rect,
|
|
|
|
.customCss {
|
|
|
|
fill: #ff0000 !important;
|
|
|
|
stroke: #ffff00 !important;
|
|
|
|
stroke-width: 4px !important;
|
|
|
|
}
|
2022-03-24 20:25:22 +01:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>info below</h1>
|
2022-09-04 21:18:36 +02:00
|
|
|
<pre class="mermaid2" style="width: 100%; height: 20%">
|
2022-03-24 20:25:22 +01:00
|
|
|
gitGraph:
|
|
|
|
commit "Ashish"
|
|
|
|
branch newbranch
|
|
|
|
checkout newbranch
|
|
|
|
commit id:"1111"
|
|
|
|
commit tag:"test"
|
|
|
|
checkout main
|
|
|
|
commit type: HIGHLIGHT
|
|
|
|
commit
|
|
|
|
merge newbranch
|
|
|
|
commit
|
|
|
|
branch b2
|
|
|
|
commit
|
2022-09-04 21:18:36 +02:00
|
|
|
</pre>
|
|
|
|
<pre class="mermaid" style="width: 100%; height: 20%">
|
2022-04-07 20:13:15 +02:00
|
|
|
%%{init: { "gitGraph": { "showBranches": true, "mainBranchName": "APA" }}}%%
|
2022-03-25 08:56:22 +01:00
|
|
|
gitGraph
|
2022-03-24 20:25:22 +01:00
|
|
|
commit
|
|
|
|
branch hotfix
|
|
|
|
checkout hotfix
|
|
|
|
commit
|
|
|
|
branch develop
|
|
|
|
checkout develop
|
2022-03-25 08:56:22 +01:00
|
|
|
commit id:"An id" tag:"A tag"
|
2022-03-24 20:25:22 +01:00
|
|
|
branch featureB
|
|
|
|
checkout featureB
|
|
|
|
commit type:HIGHLIGHT
|
2022-04-07 20:13:15 +02:00
|
|
|
checkout APA
|
2022-03-24 20:25:22 +01:00
|
|
|
checkout hotfix
|
|
|
|
commit type:NORMAL
|
|
|
|
checkout develop
|
|
|
|
commit type:REVERSE
|
|
|
|
checkout featureB
|
|
|
|
commit
|
2022-04-07 20:13:15 +02:00
|
|
|
checkout APA
|
2022-03-24 20:25: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-04-07 20:13:15 +02:00
|
|
|
checkout APA
|
2022-03-24 20:25:22 +01:00
|
|
|
commit
|
|
|
|
checkout release
|
2022-04-07 20:13:15 +02:00
|
|
|
merge APA
|
2022-03-24 20:25:22 +01:00
|
|
|
checkout develop
|
|
|
|
merge release
|
2022-09-04 21:18:36 +02:00
|
|
|
</pre>
|
|
|
|
<pre class="mermaid2" style="width: 100%; height: 20%">
|
2022-03-24 20:25:22 +01:00
|
|
|
gitGraph:
|
|
|
|
commit
|
|
|
|
commit
|
|
|
|
branch newbranch
|
|
|
|
commit
|
|
|
|
merge main
|
2022-09-04 21:18:36 +02:00
|
|
|
</pre>
|
|
|
|
<script src="./mermaid.js"></script>
|
2022-03-24 20:25:22 +01:00
|
|
|
<script>
|
|
|
|
mermaid.parseError = function (err, hash) {
|
|
|
|
// console.error('Mermaid error: ', err);
|
|
|
|
};
|
|
|
|
mermaid.initialize({
|
2022-04-07 18:22:06 +02:00
|
|
|
theme: 'default',
|
2022-03-24 20:25:22 +01:00
|
|
|
themeVariables: {
|
|
|
|
// primaryColor: '#9400D3',
|
2022-03-25 08:56:22 +01:00
|
|
|
// darkMode: false,
|
2022-03-24 20:25:22 +01:00
|
|
|
// background: '#222',
|
|
|
|
// textColor: 'white',
|
|
|
|
// primaryTextColor: '#f4f4f4',
|
|
|
|
// nodeBkg: '#ff0000',
|
|
|
|
// mainBkg: '#0000ff',
|
|
|
|
// tertiaryColor: '#ffffcc',
|
|
|
|
},
|
|
|
|
// theme: 'forest',
|
|
|
|
// theme: 'neutral',
|
|
|
|
// theme: 'dark',
|
|
|
|
// arrowMarkerAbsolute: true,
|
|
|
|
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
|
|
|
|
logLevel: 1,
|
|
|
|
flowchart: { curve: 'linear', htmlLabels: true },
|
2022-04-07 18:22:06 +02:00
|
|
|
// gitGraph: { showCommitLabel: false },
|
2022-03-24 20:25:22 +01: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',
|
|
|
|
securityLevel: 'loose',
|
|
|
|
});
|
|
|
|
function callback() {
|
2022-09-04 21:18:36 +02:00
|
|
|
alert('It worked');
|
|
|
|
}
|
2022-03-24 20:25:22 +01:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|