(
options?: string[],
allowAllExitCodes = false
)
| 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, |