Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
maxprilutskiy committed Oct 7, 2024
1 parent f74f5d8 commit 34f038b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions action/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ import doStuff from './do-stuff.js';

ora.start('Rebasing latest changes from current branch');
execSync(`git fetch origin ${config.currentBranchName}`);
// try to fast forward rebase
execSync(
`git rebase ${config.currentBranchName} ${prBranchName} --ff-only`,
{ stdio: 'inherit' },
);
execSync(`git rebase ${config.currentBranchName} ${prBranchName} --ff`, { stdio: 'inherit' });
ora.succeed('Rebased latest changes from current branch');
} else {
ora.info(`Branch ${prBranchName} does not exist, creating`);
Expand Down

0 comments on commit 34f038b

Please sign in to comment.