(projectId: string)
| 9 | import type { CommitMessageContext } from './types.ts' |
| 10 | |
| 11 | export async function initializeProjectGit(projectId: string) { |
| 12 | if (await isGitRepository(projectId)) { |
| 13 | return |
| 14 | } |
| 15 | |
| 16 | await runGit(projectId, ['init']) |
| 17 | } |
| 18 | |
| 19 | export async function setProjectOrigin(projectId: string, repoUrl: string) { |
| 20 | if (!(await isGitRepository(projectId))) { |
no test coverage detected