Skip to content

Commit 2db6675

Browse files
committed
🛠️ Fix setting allow_amend to true (#9)
1 parent f5e4a19 commit 2db6675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function getCommitMessage(
7070
channel.appendLine('DEBUG: allow_amend is false');
7171
}
7272
// set allow-amend to true
73-
const cmd = `${gptcommit} config set allow_amend true`;
73+
const cmd = `${gptcommit} config set --local allow_amend true`;
7474
channel.appendLine(`COMMAND: ${cmd}`);
7575
execSync(cmd, {cwd: repo.rootUri.fsPath});
7676
// try again

0 commit comments

Comments
 (0)