* Commits staged changes with given options including commit's title and body.
(options: GitCommitOptions)
| 364 | * Commits staged changes with given options including commit's title and body. |
| 365 | */ |
| 366 | async commitAsync(options: GitCommitOptions): Promise<void> { |
| 367 | const args = ['commit', '--message', options.title]; |
| 368 | |
| 369 | if (options.body) { |
| 370 | args.push('--message', options.body); |
| 371 | } |
| 372 | await this.runAsync(args); |
| 373 | } |
| 374 | |
| 375 | /** |
| 376 | * Cherry-picks the given commits onto the checked out branch. |
no test coverage detected