RepositoryStore.

GetBranchesContainingCommit(ICommit, IEnumerable<IBranch>?, bool) Method

Namespace
GitVersion
Containing Type
RepositoryStore

Syntax

public IEnumerable<IBranch> GetBranchesContainingCommit(ICommit commit, IEnumerable<IBranch>? branches = null, bool onlyTrackedBranches = false)

Parameters

Name Type Description
commit ICommit
branches IEnumerable<IBranch>?
onlyTrackedBranches bool

Return Value

Type Description
IEnumerable<IBranch>
GitHub