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 f5e4a19 commit 2db6675Copy full SHA for 2db6675
src/utils.ts
@@ -70,7 +70,7 @@ export async function getCommitMessage(
70
channel.appendLine('DEBUG: allow_amend is false');
71
}
72
// set allow-amend to true
73
- const cmd = `${gptcommit} config set allow_amend true`;
+ const cmd = `${gptcommit} config set --local allow_amend true`;
74
channel.appendLine(`COMMAND: ${cmd}`);
75
execSync(cmd, {cwd: repo.rootUri.fsPath});
76
// try again
0 commit comments