Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Forked Git WorktreesNew to Visual Studio Code? Get it now.
Forked Git Worktrees

Forked Git Worktrees

windsonR

|
101 installs
| (0) | Free
Switch between git worktrees easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

about

This repo forked https://github.com/joaorr3/git-worktrees. And it changed a little to use.

changed

  • worktree will always open in new window.
  • when create a new worktree, it will always use the same .worktree folder, like this:
- a
  - .git
- a.worktree
  - a.branchA
    - .git
  - a.branchB
    - .git
- b

git-worktrees-explorer

This extension provides a GUI for managing git worktrees. You can add, delete and switch between them.

Features

  • Add a new worktree by creating a new branch or from selection an existing one.
  • A new directory will be created for you based on the current branch path. For ex. Your repo is called MyAwesomeRepo and you've added a new worktree from a branch called MyAwesomeBranch. A new directory called MyAwesomeRepo.worktrees will be created with a folder MyAwesomeBranch inside it.

Add

add-with-branch

add-from-existing

Remove

delete

Enjoy! ❤️

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft