MCPcopy Index your code
hub / github.com/anomalyco/opencode / restoreGitConfig

Function restoreGitConfig

packages/opencode/src/cli/cmd/github.handler.ts:1034–1038  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1032 }
1033
1034 async function restoreGitConfig() {
1035 if (gitConfig === undefined) return
1036 const config = "http.https://github.com/.extraheader"
1037 await gitRun(["config", "--local", config, gitConfig])
1038 }
1039
1040 async function checkoutNewBranch(type: "issue" | "schedule" | "dispatch") {
1041 console.log("Checking out new branch...")

Callers 1

github.handler.tsFile · 0.70

Calls 1

gitRunFunction · 0.85

Tested by

no test coverage detected