Create Branch
codecommit_create_branch | R Documentation |
Creates a branch in a repository and points the branch to a commit¶
Description¶
Creates a branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
Usage¶
Arguments¶
repositoryName
[required] The name of the repository in which you want to create the new branch.
branchName
[required] The name of the new branch to create.
commitId
[required] The ID of the commit to point the new branch to.
Value¶
An empty list.