Skip to content

Commit

Permalink
fix: cherry-pick instead of rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Oct 16, 2019
1 parent 2621f83 commit 2fd25ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async function checkOutRemoteBranch(branch) {
core.info(`Remote branch "${branch}" checked out locally.`);

await runShellCommand(
`git rebase -X theirs --allow-empty-message "${TEMPORARY_BRANCH_NAME}"`
`git cherry-pick --strategy recursive --strategy-option theirs ${TEMPORARY_BRANCH_NAME}`
);

return true;
Expand Down

0 comments on commit 2fd25ff

Please sign in to comment.