'How to execute vscode extension `git.push` command with no verify parameter?
I try to create vs code extension, that will be add action button to make git push command with --no-verify parameter to ignore run pre-push hook.
I tried this:
vscode.commands.executeCommand('git.push', ["--no-verify"]).then(() => {
vscode.window.showInformationMessage('Changes pushed without verification!');
});
But it does't work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
