IRepositoryStore.

GetCurrentCommit(IBranch, string, IIgnoreConfiguration) Method

Summary

Returns the commit that should be treated as the current HEAD for version calculation, applying ignore rules.
Namespace
GitVersion
Containing Type
IRepositoryStore

Syntax

ICommit GetCurrentCommit(IBranch currentBranch, string commitId, IIgnoreConfiguration ignore)

Parameters

Name Type Description
currentBranch IBranch
commitId string
ignore IIgnoreConfiguration

Return Value

Type Description
ICommit
GitHub