Interface ScmAmendSupport
Methods
getInitialAmendingCommits
- getInitialAmendingCommits(amendingHeadCommitId: string, latestCommitId: undefined | string): Promise<ScmCommit[]>
Parameters
amendingHeadCommitId: string
latestCommitId: undefined | string
Returns Promise<ScmCommit[]>
getLastCommit
- getLastCommit(): Promise<undefined | ScmCommit>
getMessage
- getMessage(commit: string): Promise<string>
Parameters
Returns Promise<string>
reset
- reset(commit: string): Promise<void>
Parameters
Returns Promise<void>