mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Git - "Commit & Push" command now publishes the branch if there is no tracking remote (#153749)
"Commit & Push" command now publishes the branch if there is no tracking remote
This commit is contained in:
@@ -1625,7 +1625,7 @@ export class CommandCenter {
|
||||
|
||||
const postCommitCommand = config.get<'none' | 'push' | 'sync'>('postCommitCommand');
|
||||
if ((opts.postCommitCommand === undefined && postCommitCommand === 'push') || opts.postCommitCommand === 'push') {
|
||||
await this._push(repository, { pushType: PushType.Push, silent: true });
|
||||
await this._push(repository, { pushType: PushType.Push });
|
||||
}
|
||||
if ((opts.postCommitCommand === undefined && postCommitCommand === 'sync') || opts.postCommitCommand === 'sync') {
|
||||
await this.sync(repository);
|
||||
|
||||
Reference in New Issue
Block a user