You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-8Lines changed: 36 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
2
-
# Git Worktree Manager for VSCode
2
+
# Git Worktree Manager
3
3
4
4
[](https://marketplace.visualstudio.com/items?itemName=jackiotyu.git-worktree-manager)
Effortlessly manage Git worktrees in Visual Studio Code! 🚀 Simplify your workflow, work on multiple branches simultaneously, and boost productivity with this powerful extension.
13
+
**Manage Git worktrees safely and efficiently inside Visual Studio Code.**
14
+
Create, switch, and clean up worktrees without losing track of your branches.
14
15
15
16
<imgsrc="./images/overview.png"width="800" />
16
17
@@ -33,7 +34,11 @@ If you enjoy this extension, consider giving it a [star ⭐](https://github.com/
33
34
34
35
## Why Git Worktree Manager? 🌟
35
36
36
-
Tired of juggling branches, stashing changes, or resolving merge conflicts? **Git Worktree Manager** makes parallel development a breeze by leveraging Git worktrees, letting you work on multiple branches in separate directories without leaving VSCode. Whether you’re tackling hotfixes, experimenting with features, or managing complex projects, this extension saves time, reduces friction, and keeps your workspace organized. With seamless integration and intuitive controls, it’s the ultimate tool for developers who want a smoother Git experience.
37
+
Git worktrees make parallel development cleaner by isolating branches into separate directories,
38
+
but managing them manually can be tedious and error-prone.
39
+
40
+
Git Worktree Manager brings worktree management into VS Code,
41
+
helping you create, switch, and clean up worktrees safely while keeping your repository organized.
> [Manage multiple repositories effortlessly within VSCode.](./images/manage-multiple-repositories.mp4)
@@ -62,7 +67,7 @@ Tired of juggling branches, stashing changes, or resolving merge conflicts? **Gi
62
67
- git version >= 2.40
63
68
64
69
1.**Install the Extension**:
65
-
- Download from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=jackiotyu.git-worktree-manager).
70
+
- Download from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=jackiotyu.git-worktree-manager) or [Open VSX Registry](https://open-vsx.org/extension/jackiotyu/git-worktree-manager).
66
71
- Or search for "Git Worktree Manager" in VSCode’s Extensions view and install.
67
72
68
73
1.**Quick Start**:
@@ -78,10 +83,33 @@ Tired of juggling branches, stashing changes, or resolving merge conflicts? **Gi
78
83
79
84
## Configuration ⚙️
80
85
81
-
Customize your experience:
82
-
-**`git-worktree-manager.treeView.toSCM`**: Display worktrees in the Source Control view.
83
-
-**`terminal.external.windowsExec`**: Set your preferred terminal (e.g., `"C:\\Program Files\\Git\\bin\\bash.exe"` for Git Bash).
84
-
-**`terminal.external.osxExec`**: Use iTerm or another terminal on macOS (e.g., `"iTerm.app"`).
86
+
Customize Git Worktree Manager to fit your workflow:
87
+
88
+
-**`git-worktree-manager.treeView.toSCM`**
89
+
Display worktrees in the Source Control view.
90
+
91
+
-**`git-worktree-manager.worktreeCopyPatterns`**
92
+
Specify files or directories to be copied into a newly created worktree
93
+
(for example, local config files or environment-specific assets).
94
+
**Example:**`[".env.local", "config/*.json"]`
95
+
96
+
-**`git-worktree-manager.worktreeCopyIgnores`**
97
+
Exclude specific files or paths from being copied when creating a worktree,
98
+
even if they match `worktreeCopyPatterns`.
99
+
**Example:**`["node_modules/**", "dist/**"]`
100
+
101
+
-**`git-worktree-manager.postCreateCmd`**
102
+
Run a command automatically after a worktree is created
103
+
(for example, installing dependencies or running setup scripts).
104
+
**Example:**`"pnpm install"` or `"echo 'Worktree ready'"`
105
+
106
+
-**`terminal.external.windowsExec`**
107
+
Set the external terminal on Windows
108
+
(e.g. `"C:\\Program Files\\Git\\bin\\bash.exe"` for Git Bash).
0 commit comments