MCPcopy Create free account
hub / github.com/SethGammon/Citadel / initGit

Function initGit

scripts/test-pr-ready.js:29–34  ·  view source on GitHub ↗
(projectRoot)

Source from the content-addressed store, hash-verified

27}
28
29function initGit(projectRoot) {
30 childProcess.execFileSync('git', ['init'], { cwd: projectRoot, stdio: 'ignore' });
31 childProcess.execFileSync('git', ['checkout', '-b', 'codex/test-ready'], { cwd: projectRoot, stdio: 'ignore' });
32 childProcess.execFileSync('git', ['config', 'user.email', 'test@example.com'], { cwd: projectRoot, stdio: 'ignore' });
33 childProcess.execFileSync('git', ['config', 'user.name', 'Test User'], { cwd: projectRoot, stdio: 'ignore' });
34}
35
36function initPlanning(projectRoot) {
37 fs.mkdirSync(path.join(projectRoot, '.planning', 'telemetry'), { recursive: true });

Callers 1

test-pr-ready.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected