RepositoryStore.

FindMergeBase(IBranch, IBranch) Method

Summary

Find the merge base of the two branches, i.e. the best common ancestor of the two branches' tips.
Namespace
GitVersion
Containing Type
RepositoryStore

Syntax

public ICommit FindMergeBase(IBranch branch, IBranch otherBranch)

Parameters

Name Type Description
branch IBranch
otherBranch IBranch

Return Value

Type Description
ICommit
GitHub