diff --git a/extensions/git/package.json b/extensions/git/package.json index daf74ad475be8dbcf7baca88f182e0698f5d073a..21ba188e9c5822c9e11ac17797e3c994faf26a0d 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -180,22 +180,22 @@ { "command": "git.pull", "group": "1_sync", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.pullRebase", "group": "1_sync", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.push", "group": "1_sync", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.pushTo", "group": "1_sync", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.publish", @@ -205,27 +205,27 @@ { "command": "git.commitStaged", "group": "3_commit", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.commitStagedSigned", "group": "3_commit", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.commitAll", "group": "3_commit", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.commitAllSigned", "group": "3_commit", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.undoCommit", "group": "3_commit", - "when": "scmProvider == git" + "when": "scmProvider == none" }, { "command": "git.unstageAll", diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index fedc616db14a574ad0712046052533a1eee0db13..06317e9ee30f4a39a9b9e9ea901c3d73f73450e4 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -381,6 +381,12 @@ export class CommandCenter { await Promise.reject('not implemented'); } + @CommandCenter.Command('git.push') + @CommandCenter.CatchErrors + async push(): Promise { + await Promise.reject('not implemented'); + } + @CommandCenter.Command('git.pushTo') @CommandCenter.CatchErrors async pushTo(): Promise {