diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index cee7d2468ea..4bb71931e2b 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -113,6 +113,7 @@ export class CommandCenter { commands.registerCommand('git.checkout', this.checkout, this), commands.registerCommand('git.sync', this.sync, this), commands.registerCommand('git.publish', this.publish, this), + commands.registerCommand('git.showOutput', this.showOutput, this), ); } @@ -323,6 +324,10 @@ export class CommandCenter { await this.model.push(choice, branchName, { setUpstream: true }); } + showOutput(): void { + this.outputChannel.show(); + } + dispose(): void { this.disposables.forEach(d => d.dispose()); }