gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commitSyntax
commitadds a commit to the current branch;id:,tag:andtype:(NORMAL,REVERSE,HIGHLIGHT) describe it.branch namestarts a branch andcheckout name(orswitch) moves to one.merge namemerges a branch into the current one;cherry-pick id:copies a commit.