Documentation Modified New Ex Added

This commit is contained in:
RounakJoshi09
2023-10-23 20:34:54 +05:30
parent 58e9e5658b
commit b0cfdcc22f

View File

@@ -371,6 +371,42 @@ A few important rules to note here are:
Let see an example:
```mermaid-example
gitGraph
commit id: "ZERO"
branch develop
commit id:"A"
checkout main
commit id:"ONE"
checkout develop
commit id:"B"
checkout main
commit id:"TWO"
cherry-pick id:"A"
commit id:"THREE"
checkout develop
commit id:"C"
```
```mermaid
gitGraph
commit id: "ZERO"
branch develop
commit id:"A"
checkout main
commit id:"ONE"
checkout develop
commit id:"B"
checkout main
commit id:"TWO"
cherry-pick id:"A"
commit id:"THREE"
checkout develop
commit id:"C"
```
Cherry Picking Merge Commit:
```mermaid-example
gitGraph
commit id: "ZERO"