Module Values.MergeBranchesBySquashInputSource

Merges two branches using the squash merge strategy.

Sourcetype nonrec t = {
  1. repositoryName : RepositoryName.t;
    (*

    The name of the repository where you want to merge two branches.

    *)
  2. sourceCommitSpecifier : CommitName.t;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  3. destinationCommitSpecifier : CommitName.t;
    (*

    The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

    *)
  4. targetBranch : BranchName.t option;
    (*

    The branch where the merge is applied.

    *)
  5. conflictDetailLevel : ConflictDetailLevelTypeEnum.t option;
    (*

    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.

    *)
  6. conflictResolutionStrategy : ConflictResolutionStrategyTypeEnum.t option;
    (*

    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.

    *)
  7. authorName : Name.t option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  8. email : Email.t option;
    (*

    The email address of the person merging the branches. This information is used in the commit information for the merge.

    *)
  9. commitMessage : Message.t option;
    (*

    The commit message for the merge.

    *)
  10. keepEmptyFolders : KeepEmptyFolders.t option;
    (*

    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.

    *)
  11. conflictResolution : ConflictResolution.t option;
    (*

    If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

    *)
}
Sourceval context_ : string
Sourceval make : ?targetBranch:??? -> ?conflictDetailLevel:??? -> ?conflictResolutionStrategy:??? -> ?authorName:??? -> ?email:??? -> ?commitMessage:??? -> ?keepEmptyFolders:??? -> ?conflictResolution:??? -> repositoryName:RepositoryName.t -> sourceCommitSpecifier:CommitName.t -> destinationCommitSpecifier:CommitName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of KeepEmptyFolders.t | `Enum of string | `String of RepositoryName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Blob of FileContent.t | `Enum of string | `String of Path.t ]) list ] list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t