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

Assembly
GitVersion.Core.dll
Namespace
GitVersion.Common
Containing Type
IRepositoryStore

Syntax

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>