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