- Namespace
- GitVersion
- Containing Type
- RepositoryStore
Syntax
public ICommit GetCurrentCommit(IBranch currentBranch, string commitId)
Parameters
| Name | Type | Description |
|---|---|---|
| currentBranch | IBranch | |
| commitId | string |
Return Value
| Type | Description |
|---|---|
| ICommit |