Skip to content

Commit 1230b7c

Browse files
authored
Git - "Commit & Push" command now publishes the branch if there is no tracking remote (microsoft#153749)
"Commit & Push" command now publishes the branch if there is no tracking remote
1 parent 13f136f commit 1230b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/git/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ export class CommandCenter {
16251625

16261626
const postCommitCommand = config.get<'none' | 'push' | 'sync'>('postCommitCommand');
16271627
if ((opts.postCommitCommand === undefined && postCommitCommand === 'push') || opts.postCommitCommand === 'push') {
1628-
await this._push(repository, { pushType: PushType.Push, silent: true });
1628+
await this._push(repository, { pushType: PushType.Push });
16291629
}
16301630
if ((opts.postCommitCommand === undefined && postCommitCommand === 'sync') || opts.postCommitCommand === 'sync') {
16311631
await this.sync(repository);

0 commit comments

Comments
 (0)