Skip to content

CreateBranchRepoOption

Import from pyfj or pyfj.models as CreateBranchRepoOption.

CreateBranchRepoOption

CreateBranchRepoOption options when creating a branch in a repository

new_branch_name

new_branch_name: str = Field(description='Name of the branch to create')

old_branch_name

old_branch_name: str | None = Field(default=None, description='Deprecated: true Name of the old branch to create from')

old_ref_name

old_ref_name: str | None = Field(default=None, description='Name of the old branch/tag/commit to create from')