mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-12 23:28:16 -05:00
build
This commit is contained in:
@@ -27982,7 +27982,8 @@ async function improveCommitMessagesWithRebase({
|
||||
console.log({ improvedMessagesBySha });
|
||||
ce("Done.");
|
||||
ce(`Starting interactive rebase: "$ rebase -i ${base}".`);
|
||||
await execa("git", ["rebase", "-i", base]);
|
||||
await execa("git", ["fetch", `--all`]);
|
||||
await execa("git", ["rebase", "-i", `origin/${base}`]);
|
||||
for (const commit of commitsToImprove) {
|
||||
try {
|
||||
const improvedMessage = improvedMessagesBySha[commit.sha];
|
||||
|
||||
@@ -136,7 +136,8 @@ async function improveCommitMessagesWithRebase({
|
||||
|
||||
outro(`Starting interactive rebase: "$ rebase -i ${base}".`);
|
||||
|
||||
await execa('git', ['rebase', '-i', base]);
|
||||
await execa('git', ['fetch', `--all`]);
|
||||
await execa('git', ['rebase', '-i', `origin/${base}`]);
|
||||
|
||||
for (const commit of commitsToImprove) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user