- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Common - Containing Type
- IRepositoryStore
Syntax
ICommit GetCurrentCommit(IBranch currentBranch, string commitId)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| currentBranch | IBranch | |
| commitId | string |
Return Value
| Type | Description |
|---|---|
| ICommit |