Skip to contentOpen History to see the last commit
git.ts
7 lines230 Bytes
1import { resolve } from 'node:path' 3import type { Environment } from '../types.js' 5export async function setupGit(environment: Environment, targetDir: string) { 6 await environment.execute('git', ['init'], resolve(targetDir))