sync-worktrees
Version:
Automatically synchronize Git worktrees with remote branches - perfect for multi-branch development workflows
16 lines • 509 B
TypeScript
import type { Config } from "../types";
export declare class WorktreeSyncService {
private config;
private gitService;
constructor(config: Config);
initialize(): Promise<void>;
sync(): Promise<void>;
private createNewWorktrees;
private pruneOldWorktrees;
private fetchBranchByBranch;
private updateExistingWorktrees;
private cleanupOrphanedDirectories;
private handleDivergedBranch;
private divergeWorktree;
}
//# sourceMappingURL=worktree-sync.service.d.ts.map