We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d0587a commit 138918cCopy full SHA for 138918c
src/services/git/index.ts
@@ -19,7 +19,9 @@ const cherryPickCommit = async (commit: string, count = 0): Promise<void> => {
19
return
20
}
21
try {
22
- const { stdout } = await node.exec(`git cherry-pick ${commit}`)
+ // cherry-pick pulls commits from another branch
23
+ // -X theirs merges and accepts incoming changes over existing changes
24
+ const { stdout } = await node.exec(`git cherry-pick -X theirs ${commit}`)
25
if (!stdout) {
26
throw new Error('No cherry-pick output')
27
0 commit comments