(cwd: string, args: string)
| 7 | * Execute a git command in the specified directory |
| 8 | */ |
| 9 | export async function git(cwd: string, args: string): Promise<string> { |
| 10 | const { stdout } = await execAsync(`git ${args}`, { cwd }); |
| 11 | return stdout.trim(); |
| 12 | } |