Skip to content

Merge Branches By Fast Forward

codecommit_merge_branches_by_fast_forward R Documentation

Merges two branches using the fast-forward merge strategy

Description

Merges two branches using the fast-forward merge strategy.

Usage

codecommit_merge_branches_by_fast_forward(repositoryName,
  sourceCommitSpecifier, destinationCommitSpecifier, targetBranch)

Arguments

repositoryName

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

sourceCommitSpecifier

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

destinationCommitSpecifier

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

targetBranch

The branch where the merge is applied.

Value

A list with the following syntax:

list(
  commitId = "string",
  treeId = "string"
)

Request syntax

svc$merge_branches_by_fast_forward(
  repositoryName = "string",
  sourceCommitSpecifier = "string",
  destinationCommitSpecifier = "string",
  targetBranch = "string"
)