diff --git a/src/lib/ProjectsManager.ts b/src/lib/ProjectsManager.ts index 0267b5e2..f2e9c68d 100644 --- a/src/lib/ProjectsManager.ts +++ b/src/lib/ProjectsManager.ts @@ -114,11 +114,10 @@ export class ProjectsManager { * exactly match the remote. */ private async forcePullTemplate(templatePath: string): Promise { - // Fetch the latest changes from remote (shallow fetch for efficiency) + // Fetch the latest changes from remote const fetchResult = await this.git.fetch({ dir: templatePath, singleBranch: true, - depth: 1, }); // Get the current branch name (e.g., "refs/heads/main")