(opts?: { cwd?: string })
| 111 | |
| 112 | /** Get the current branch name */ |
| 113 | export function getCurrentBranch(opts?: { cwd?: string }): string | null { |
| 114 | return tryRunArgs(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], opts); |
| 115 | } |
| 116 | |
| 117 | /** Stage files and create a commit */ |
| 118 | export function commitFiles(files: string[], message: string, opts?: { cwd?: string }): void { |
no test coverage detected
searching dependent graphs…