Skip to main content
Version: Next

Models.Branch

Home > @backstage/plugin-bitbucket-cloud-common > Models > Branch

A branch object, representing a branch in a repository.

Signature:

interface Branch 

Properties

Property

Modifiers

Type

Description

default_merge_strategy?

string

(Optional) The default merge strategy for pull requests targeting this branch.

links?

RefLinks

(Optional)

merge_strategies?

Array<BranchMergeStrategiesEnum>

(Optional) Available merge strategies for pull requests targeting this branch.

name?

string

(Optional) The name of the ref.

target?

Commit

(Optional)

type

string