We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf46b99 commit b149a6dCopy full SHA for b149a6d
extensions/git/src/commands.ts
@@ -2697,14 +2697,7 @@ export class CommandCenter {
2697
if (!HEAD) {
2698
return;
2699
} else if (!HEAD.upstream) {
2700
- const branchName = HEAD.name;
2701
- const message = l10n.t('The branch "{0}" has no remote branch. Would you like to publish this branch?', branchName ?? '');
2702
- const yes = l10n.t('OK');
2703
- const pick = await window.showWarningMessage(message, { modal: true }, yes);
2704
-
2705
- if (pick === yes) {
2706
- await this.publish(repository);
2707
- }
+ this._push(repository, { pushType: PushType.Push });
2708
2709
}
2710
0 commit comments