MCPcopy
hub / github.com/peter-evans/create-pull-request / commit

Method commit

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

Source from the content-addressed store, hash-verified

77 }
78
79 async commit(
80 options?: string[],
81 allowAllExitCodes = false
82 ): Promise<GitOutput> {
83 const args = ['commit']
84 if (this.identityGitOptions) {
85 args.unshift(...this.identityGitOptions)
86 }
87
88 if (options) {
89 args.push(...options)
90 }
91
92 return await this.exec(args, {allowAllExitCodes: allowAllExitCodes})
93 }
94
95 async config(
96 configKey: string,

Callers 3

createOrUpdateBranchFunction · 0.80
createCommitsFunction · 0.80

Calls 2

execMethod · 0.95
pushMethod · 0.80

Tested by 1

createCommitsFunction · 0.64