Git Shadowtree Sebastian Szvetecz
winget install --id=Szv.GitShadowtree -e Git Shadowtree is a Git extension designed to maintain a separate "shadow" repository alongside your main Git repository. This tool allows you to track specific files and directories in the shadow repository while excluding them from the working directory of the main repository. It provides a way to manage sensitive or project-specific content without cluttering the primary codebase.
Key Features:
- Shadow Repository Management: Maintain a decoupled shadow repository that tracks defined sets of files and directories, such as agent documentation or other sensitive materials.
- File Exclusion from Working Directory: Files tracked in the shadow repository are excluded from the main working directory, ensuring a clean and focused environment for development.
- Worktree Support: Automatically provisions a shadow repository for each worktree created via
git worktree add, with seamless synchronization through push/pull operations. - Integration with Winget: Can be installed via winget, simplifying setup and configuration.
Audience & Benefit: Ideal for developers working on complex or multi-repository projects to maintain separate tracking of specific files without affecting the main workflow. This tool streamlines the management of project-specific or sensitive content while keeping the primary repository clean and efficient.