diff --git a/scripts/open-cherry-pick-pr.ts b/scripts/open-cherry-pick-pr.ts index 2bad1438d31..90ba25d5fb2 100644 --- a/scripts/open-cherry-pick-pr.ts +++ b/scripts/open-cherry-pick-pr.ts @@ -38,7 +38,7 @@ ${logText.trim()}` const logpath = path.join(__dirname, "../", "logmessage.txt"); runSequence([ ["git", ["checkout", "-b", "temp-branch"]], - ["git", ["reset", "master", "--soft"]] + ["git", ["reset", "origin/master", "--soft"]] ]); fs.writeFileSync(logpath, logText); runSequence([