File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,9 @@ export abstract class ShadowCheckpointService extends EventEmitter {
120120 this . log ( `[${ this . constructor . name } #initShadowGit] creating shadow git repo at ${ this . checkpointsDir } ` )
121121 await git . init ( )
122122 await git . addConfig ( "core.worktree" , this . workspaceDir ) // Sets the working tree to the current workspace.
123+ // Fix Windows Git configuration conflict: explicitly set core.bare=false when using core.worktree
124+ // This resolves "core.bare and core.worktree do not make sense" error on Windows
125+ await git . addConfig ( "core.bare" , "false" )
123126 await git . addConfig ( "commit.gpgSign" , "false" ) // Disable commit signing for shadow repo.
124127 await git . addConfig ( "user.name" , "Roo Code" )
125128 await git . addConfig ( "user.email" , "[email protected] " )
You can’t perform that action at this time.
0 commit comments