Update template without depth: 1

This commit is contained in:
Alex Gleason committed 2025-12-28 15:09:12 -06:00
1 parent d314655a7b
commit 243853b6c8
1 file changed
+1 -2
+1 -2
View File
@@ -114,11 +114,10 @@ export class ProjectsManager {
* exactly match the remote.
*/
private async forcePullTemplate(templatePath: string): Promise<void> {
// 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")