Overview

Overview

Git Worktree

Documentation for Git Worktree plugin for Jetbrains family of IDEs.

Introduction to worktrees

Git worktrees is a feature that allows developers to maintain multiple working directories within a single Git repository, enabling simultaneous work on different branches or versions without the need for separate clones.

Add worktree

Worktrees can cover various use-cases and options available during creation reflect that. The process can be started from the following UI areas: editor context menu Git > Worktree view context menu Git > Log view (paid) context menu Add worktree dialog Location Directory, in which new worktree will be located.

View worktrees

Worktrees related to repositories in the current project can be viewed in the dedicated view Git > Worktree Worktrees corresponding to current project repositories are omitted from the view. Entries have different icons denoting if they correspond to a branch or to an exact commit:

Locking (paid)

This is a paid feature. Worktrees can be locked on creation and they can be locked / unlocked from Worktree view Locked worktree it is exempt from pruning by git worktree prune

Quick switch worktrees (paid)

This is a paid feature. Allows quickly opening other worktree as a project.

Compare with other worktree (paid)

This is a paid feature. This feature allows comparing file or whole directory with the same path but in other worktree. Accessing and worktree selection Comparison is started from the context menu of editor or Project View.

License and usage

License and usage Plugin is developed and delivered in freemium model. License text is available in plugin configuration > About > License tab All features available before 500.x.y version will stay free and receive fixes and occasional updates.

License

END USER LICENSE AGREEMENT (“EULA”) Version 1.0, effective as of January 25, 2024 1. DEFINITIONS Capitalised terms used herein shall have the following meaning: Developer – the author of Plugin: Łukasz Zieliński.

Privacy policy

Plugin does not collect nor send any private information. Network activity is feature-related only.