Advanced multi-worktree support

Marc Strapetz 2 years ago • updated by Thomas Singer 5 months ago 9
Git Need More User Input

Proposal for a start: Menu "Local" -> "Add worktree". Then create an additional repository in the `Repositories` view for the new worktree.

I use multiple worktrees quite actively. Now I do all handling from command line and it works but is a bit cumbersome. Adding just "Add worktree" and "Delete worktree" which will delete the folder and execute 'git worktree prune' will definitely help. Visually marking worktree-repo in Repositories view with specialized tooltip is a must too.

Need worktree support. very useful when maintain a big repository.

I support Kolomon's proposal.

It can be as simple by copying the "Repsoitory > Clone..." menu item. With the difference of only selecting a local repository and the git command is a "worktree add" instead of a "clone".