MergeBranchesBySquashInput
¶
Source code in docs_src/capo_codecommit/types/merge_branches_by_squash_input.py
author_name
instance-attribute
¶
author_name: NotRequired[Name]
The name of the author who created the commit. This information is used as both the author and committer for the commit.
commit_message
instance-attribute
¶
commit_message: NotRequired[Message]
The commit message for the merge.
conflict_detail_level
instance-attribute
¶
conflict_detail_level: NotRequired[ConflictDetailLevelTypeEnum]
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
conflict_resolution
instance-attribute
¶
conflict_resolution: NotRequired[ConflictResolution]
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
conflict_resolution_strategy
instance-attribute
¶
conflict_resolution_strategy: NotRequired[ConflictResolutionStrategyTypeEnum]
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
destination_commit_specifier
instance-attribute
¶
destination_commit_specifier: CommitName
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
email
instance-attribute
¶
email: NotRequired[Email]
The email address of the person merging the branches. This information is used in the commit information for the merge.
keep_empty_folders
instance-attribute
¶
keep_empty_folders: KeepEmptyFolders
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file is created for empty folders. The default is false.
repository_name
instance-attribute
¶
repository_name: RepositoryName
The name of the repository where you want to merge two branches.
source_commit_specifier
instance-attribute
¶
source_commit_specifier: CommitName
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
target_branch
instance-attribute
¶
target_branch: NotRequired[BranchName]
The branch where the merge is applied.