1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[mermaid] git graphについて

Last updated at Posted at 2022-04-27

使う前に

使う前に、mermaidのversionを確認しましょう

リリースノートにより、9.0.0以降
gitGraphのgrammarが変更された部分があります。

最新版を使いたいなら、
過去version(~8.14.0)の一部grammarが使えなくなります
2022/04/28時点、Qiitaは8.14.0を使っていました

8.14.0

8.14.0
gitGraph:
  commit

9.0.0

9.0.0
gitGraph
  commit

9.0.0以降を確認したい場合、
Mermaid Live Editorで確認できます

git command

  • commit
  • branch
  • checkout
  • merge

上記四つcommandを使い、下記の図を描ける

古いバージョンを使うと、エラーが表示される

Reference

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?