MCPcopy Index your code
hub / github.com/peter-evans/create-pull-request / cherryPick

Method cherryPick

src/git-command-manager.ts:63–77  ·  view source on GitHub ↗
(
    options?: string[],
    allowAllExitCodes = false
  )

Source from the content-addressed store, hash-verified

61 }
62
63 async cherryPick(
64 options?: string[],
65 allowAllExitCodes = false
66 ): Promise<GitOutput> {
67 const args = ['cherry-pick']
68 if (this.identityGitOptions) {
69 args.unshift(...this.identityGitOptions)
70 }
71
72 if (options) {
73 args.push(...options)
74 }
75
76 return await this.exec(args, {allowAllExitCodes: allowAllExitCodes})
77 }
78
79 async commit(
80 options?: string[],

Callers 1

createOrUpdateBranchFunction · 0.80

Calls 2

execMethod · 0.95
pushMethod · 0.80

Tested by

no test coverage detected