This commit is contained in:
di-sukharev
2023-05-21 12:26:02 +08:00
parent f5517ed59f
commit 851c8baff1
2 changed files with 6 additions and 4 deletions

View File

@@ -27298,8 +27298,9 @@ echo $(( count + 1 )) > count.txt
`
);
await import_exec.default.exec(`chmod +x ./rebase-exec.sh`);
await execPromise(
`git rebase ${commitsToImprove[0].sha}^ --exec "./rebase-exec.sh"`,
await import_exec.default.exec(
"git",
["rebase", `${commitsToImprove[0].sha}^`, "--exec", "./rebase-exec.sh"],
{
env: {
GIT_SEQUENCE_EDITOR: 'sed -i -e "s/^pick/reword/g"',