mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-04-20 03:02:51 -04:00
build
This commit is contained in:
@@ -27276,7 +27276,9 @@ async function improveCommitMessagesWithRebase({
|
||||
ce(
|
||||
`Starting interactive rebase: "$ rebase -i ${commitsToImprove[0].sha}".`
|
||||
);
|
||||
await import_exec.default.exec("git", ["checkout", source]);
|
||||
await import_exec.default.exec("git", ["fetch", "--all"]);
|
||||
await import_exec.default.exec("git", ["pull"]);
|
||||
await import_exec.default.exec("git", ["rebase", "-i", commitsToImprove[0].sha], {
|
||||
env: {
|
||||
GIT_SEQUENCE_EDITOR: `sed -i -e 's/^pick/reword/g' "$1"`,
|
||||
|
||||
@@ -142,9 +142,9 @@ async function improveCommitMessagesWithRebase({
|
||||
);
|
||||
|
||||
// fetch all commits inside the process
|
||||
await exec.exec('git', ['checkout', source]);
|
||||
await exec.exec('git', ['fetch', '--all']);
|
||||
|
||||
// await exec.exec('git', ['checkout', source]);
|
||||
await exec.exec('git', ['pull']);
|
||||
|
||||
await exec.exec('git', ['rebase', '-i', commitsToImprove[0].sha], {
|
||||
env: {
|
||||
|
||||
Reference in New Issue
Block a user