(path: string)
| 3 | |
| 4 | /** Init a new git repository in the given path. */ |
| 5 | export async function initGitRepository(path: string): Promise<void> { |
| 6 | await git( |
| 7 | ['-c', `init.defaultBranch=${await getDefaultBranch()}`, 'init'], |
| 8 | path, |
| 9 | 'initGitRepository' |
| 10 | ) |
| 11 | } |
no test coverage detected