Skip to content

Commit 203549f

Browse files
committed
Fix #8628. Avoid using templates on git init
1 parent 3a47c55 commit 203549f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/checkpoints/ShadowCheckpointService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export abstract class ShadowCheckpointService extends EventEmitter {
106106
this.baseHash = await git.revparse(["HEAD"])
107107
} else {
108108
this.log(`[${this.constructor.name}#initShadowGit] creating shadow git repo at ${this.checkpointsDir}`)
109-
await git.init()
109+
await git.init({ "--template": "" })
110110
await git.addConfig("core.worktree", this.workspaceDir) // Sets the working tree to the current workspace.
111111
await git.addConfig("commit.gpgSign", "false") // Disable commit signing for shadow repo.
112112
await git.addConfig("user.name", "Roo Code")

0 commit comments

Comments
 (0)