Git: Add "git rebase --abort" command (#97071)

Add "git rebase --abort" command
This commit is contained in:
Ladislau Szomoru
2020-05-07 14:26:55 +02:00
committed by GitHub
parent ff8902990d
commit ee8a6bc4f8
5 changed files with 19 additions and 0 deletions

View File

@@ -2494,6 +2494,10 @@ export class CommandCenter {
env.clipboard.writeText(item.message);
}
@command('git.rebaseAbort', { repository: true })
async rebaseAbort(repository: Repository): Promise<void> {
await repository.rebaseAbort();
}
private createCommand(id: string, key: string, method: Function, options: CommandOptions): (...args: any[]) => any {
const result = (...args: any[]) => {