Syntaxe acceptée, et Mermaid généré
Une commande par ligne, au choix :
git commit -m "msg",git branch x,git switch x,git switch -c x,git checkout [-b] x,git merge x,git cherry-pick <id>,git tag v1;- ou la syntaxe Mermaid gitGraph telle quelle (
commit id: "…",branch x,checkout x,merge x…) ; #commence un commentaire.
Un merge fast-forward est détecté et signalé par l'étiquette « fast-forward » (Mermaid dessine toujours un commit de fusion). rebase n'est pas dessinable avec Mermaid.
Édition en direct · le texte est gardé dans l'URL