Skip to content

Commit 00ae9bc

Browse files
authored
Fixes gh-9 : drawing in readme.md for 2.0/test is not logical placed correctly (#12)
1 parent 7505439 commit 00ae9bc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A few remarks, aspects and thoughts when retrieving the artifacts
4040

4141
Git normally stacks the history hence you cannot delete commit in the middle of the history. `git-artifact` make a "horizontal" history - i.e the commits are not stacked on top of each other, but next to each other.
4242

43-
The history is basically like this:
43+
The history of git-artifact workflow can basically look like this:
4444

4545
``` mermaid
4646
%%{init: {
@@ -60,20 +60,23 @@ gitGraph:
6060
commit id: "1.0/bin" tag: "1.0/bin"
6161
commit id: "1.0/src" tag: "1.0/src"
6262
checkout latest-1.1
63-
commit id: "1.1/bin" tag: "1.1"
63+
commit id: "1.1/bin" tag: "1.1/bin"
6464
checkout latest-1.2
65-
commit id: "1.2/bin" tag: "1.2"
65+
commit id: "1.2/bin" tag: "1.2/bin"
6666
checkout latest-2.0
67-
commit id: "2.0/bin" tag: "2.0"
67+
commit id: "2.0/bin" tag: "2.0/bin"
6868
checkout main
6969
commit id: "update scripts" tag: "main" type: HIGHLIGHT
7070
branch foo order: 1
7171
checkout foo
7272
commit id: "3.0/bin" tag: "3.0/bin"
73-
checkout latest-1.0
73+
checkout latest-2.0
74+
commit id: "2.0/src" tag: "2.0/src"
7475
commit id: "2.0/test" tag: "2.0/test"
7576
```
7677

78+
79+
7780
### Prerequisites
7881

7982
The tool uses tags hence the producer need to tag push-rights. It is also beneficial to have tag delete-rights to clean old artifacts.

0 commit comments

Comments
 (0)