MCPcopy
hub / github.com/openai/codex-plugin-cc / initGitRepo

Function initGitRepo

tests/helpers.mjs:26–32  ·  view source on GitHub ↗
(cwd)

Source from the content-addressed store, hash-verified

24}
25
26export function initGitRepo(cwd) {
27 run("git", ["init", "-b", "main"], { cwd });
28 run("git", ["config", "user.name", "Codex Plugin Tests"], { cwd });
29 run("git", ["config", "user.email", "tests@example.com"], { cwd });
30 run("git", ["config", "commit.gpgsign", "false"], { cwd });
31 run("git", ["config", "tag.gpgsign", "false"], { cwd });
32}

Callers 2

git.test.mjsFile · 0.90
runtime.test.mjsFile · 0.90

Calls 1

runFunction · 0.85

Tested by

no test coverage detected