%%{
init: {
"gitGraph": {
"rotateCommitLabel": false
},
"themeVariables": {
"commitLabelColor": '#000000',
"commitLabelBackground": '#ffffff',
"commitLabelFontSize": '15px'
}
}}%%
gitGraph
commit id: "c1"
commit id: "c2"
branch b1
commit id: "c3"
checkout main
commit id: "c4"
merge b1
checkout b1
branch b2
commit id: "b2 브랜치 말단 커밋"
checkout b1
commit id: "b1 브랜치 말단 커밋"
checkout main
commit id: "main 브랜치 말단 커밋"
장 제목
실습
!rm -rf test_template_01
!mkdir test_template_01
!git init test_template_01
!cd test_template_01Initialized empty Git repository in /test_template_01/.git/
%cd /Users/joelkim/Work/personal/book_git/temp
!rm -rf test_template_01