IRepositoryStore.

GetSourceBranches(IBranch, IGitVersionConfiguration, IEnumerable<IBranch>) Method

Summary

Returns the branches that branch was directly branched from, excluding the given collection of branches.
Namespace
GitVersion
Containing Type
IRepositoryStore

Syntax

IEnumerable<IBranch> GetSourceBranches(IBranch branch, IGitVersionConfiguration configuration, IEnumerable<IBranch> excludedBranches)

Parameters

Name Type Description
branch IBranch
configuration IGitVersionConfiguration
excludedBranches IEnumerable<IBranch>

Return Value

Type Description
IEnumerable<IBranch>
GitHub