WorkforestExtension to conveniently visualize, open, and switch between git worktrees and vscode workspaces.
WorktreesWorkforest discovers git repositories open in the workspace and displays a list of their worktrees in an Activity Bar View. Workforest allows for an open worktree to be replaced by another worktree of the same repository. Worktrees may also be opened in a new window. In addition, Workforest allows to perform simple operations on repository worktrees, such as adding and removing worktrees (and optionally deleting branches checked out by removed worktrees). Notes on adding worktreesTo add a worktree, either a path or a branch name is required. When a path is provided, it is resolved relative to the main worktree's directory, and a branch is created with the path's basename. If a branch name is provided, the worktree is added with path Note on multi-root workspacesIn multi-root workspaces, switching the workspace's first folder triggers a reload which makes the process somewhat slower (see WorkspacesWorkforest allows to register a directory path through the |
