Main Content
createBranch
Syntax
Description
creates a new branch in the Git™ repository branchDetails
= createBranch(repo
,name
)repo
with the name name
from the most recent commit.
creates a new branch in the Git repository branchDetails
= createBranch(repo
,name
,StartPoint=commitID
)repo
with the name name
from the specified commit.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023b