mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Updated gitgraph.md
This commit is contained in:
		@@ -405,40 +405,6 @@ Let see an example:
 | 
			
		||||
       commit id:"C"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```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
 | 
			
		||||
@@ -481,46 +447,6 @@ Cherry Picking Merge Commit:
 | 
			
		||||
        commit id:"C"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```mermaid-example
 | 
			
		||||
    gitGraph
 | 
			
		||||
        commit id: "ZERO"
 | 
			
		||||
        branch develop
 | 
			
		||||
        branch release
 | 
			
		||||
        commit id:"A"
 | 
			
		||||
        checkout main
 | 
			
		||||
        commit id:"ONE"
 | 
			
		||||
        checkout develop
 | 
			
		||||
        commit id:"B"
 | 
			
		||||
        checkout main
 | 
			
		||||
        merge develop id:"MERGE"
 | 
			
		||||
        commit id:"TWO"
 | 
			
		||||
        checkout release
 | 
			
		||||
        cherry-pick id:"MERGE" parent:"B"
 | 
			
		||||
        commit id:"THREE"
 | 
			
		||||
        checkout develop
 | 
			
		||||
        commit id:"C"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
```mermaid
 | 
			
		||||
    gitGraph
 | 
			
		||||
        commit id: "ZERO"
 | 
			
		||||
        branch develop
 | 
			
		||||
        branch release
 | 
			
		||||
        commit id:"A"
 | 
			
		||||
        checkout main
 | 
			
		||||
        commit id:"ONE"
 | 
			
		||||
        checkout develop
 | 
			
		||||
        commit id:"B"
 | 
			
		||||
        checkout main
 | 
			
		||||
        merge develop id:"MERGE"
 | 
			
		||||
        commit id:"TWO"
 | 
			
		||||
        checkout release
 | 
			
		||||
        cherry-pick id:"MERGE" parent:"B"
 | 
			
		||||
        commit id:"THREE"
 | 
			
		||||
        checkout develop
 | 
			
		||||
        commit id:"C"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Gitgraph specific configuration options
 | 
			
		||||
 | 
			
		||||
In Mermaid, you have the option to configure the gitgraph diagram. You can configure the following options:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user